This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Adding column to Jtable" Watch "Adding column to Jtable" New topic

Adding column to Jtable

Samlin Ford

Joined: Mar 08, 2004
Posts: 2
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.
please help me with that.
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:
subject: Adding column to Jtable
It's not a secret anymore!