Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem displaying jtable

kobe phenom
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At first my JTable is displaying fine (data is retrieving from
database). I have created a data model that derived from
AbstractTableModel and using that data model for my JTable.
But in time when any data changes, I have to update my JTable in display.
Problem is that although JTable is displaying, the JTable no longer
spans all of the available space, I have to manually resize all columns to fit into available spaces.
Can anyone help me?Thanks in advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic