my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes Empty Rows in a table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Empty Rows in a table" Watch "Empty Rows in a table" New topic
Author

Empty Rows in a table

Karen Davis
Greenhorn

Joined: Mar 04, 2004
Posts: 8
Does anyone know if it is possible to add empty rows into a JTable, even if there is no data to display???
Eddie Vanda
Ranch Hand

Joined: Mar 18, 2003
Posts: 281
Hi Karen,
Not to a JTable, but you can to its model:

Ed


The nice thing about Standards is that there are so many to choose from!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Empty Rows in a table
 
Similar Threads
Colored Rows in Table
JTextArea insert problem
lack of exception
How can I force a <hx:dataTableEx to display n number of rows?
How to loop through data on a jsp form?