aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Adding column to Jtable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Adding column to Jtable" Watch "Adding column to Jtable" New topic
Author

Adding column to Jtable

Samlin Ford
Greenhorn

Joined: Mar 08, 2004
Posts: 2
Hello
I have a JTable with 3 columns and I have 4 checkboxes outside the JTable. User can add new columns with choosing those checkboxes. My Table has its own Table model that extends from DefaultTableModel.I have a special columns in my JTable and I want that this columns appear always at the end of the JTable, even when the user add new columns to the JTable.
HOW CAN I DO THIS???
please help me with that.
Thanks
Sam F
Eddie Vanda
Ranch Hand

Joined: Mar 18, 2003
Posts: 281
This was answered befor in this topic


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: Adding column to Jtable