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

Empty Rows in a table

Karen Davis

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:


The nice thing about Standards is that there are so many to choose from!
I agree. Here's the link:
subject: Empty Rows in a table
It's not a secret anymore!