Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding column to Jtable

 
Samlin Ford
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This was answered befor in this topic
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic