wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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!
 
Don't get me started about those stupid light bulbs.
 
subject: Empty Rows in a table
 
Similar Threads
Colored Rows in Table
lack of exception
JTextArea insert problem
How can I force a <hx:dataTableEx to display n number of rows?
How to loop through data on a jsp form?