Register / Login
Win a copy of
Think Java: How to Think Like a Computer Scientist
this week in the
Java in General
Swing / AWT / SWT
JTable related problems
posted 10 years ago
I am using
with 3 columns. I have added table to
. 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.
SCJP 1.5, SCWCD 1.5
Problems with JTable. Need help!!
problem in colors of cells JTable
Images in a JTable
Color in JTable