Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable related problems  RSS feed

 
Anand Loni
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using JTable with 3 columns. I have added table to JScrollPane. I have also added scrollbars to table, and I add rows dynamically ,now My problems are -

1) I want my column should take size equal to highest width of column contents.

2) I want to select column when I click on column and press control key.
I have added selection model to table.

3) My table should have white background. I have tried to set background of
table as well as scrollpane but its not working.

any help....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!