Link to home
Start Free TrialLog in
Avatar of stanleyhuen
stanleyhuen

asked on

JTable question again

Hi,
How can I make the JTable in a JScrollPane uses up all the spaces in the JScrollPane?

Avatar of s_lavie
s_lavie

What do you mean by using up all the spaces in the JScrollPane?
hi stanleyhuen,
try
JScrollPane scroll=new JScrollPane();
JTable t=new JTable();
scroll.setViewportView(t);

Is this what you are asking for? send me comments, please.
ASKER CERTIFIED SOLUTION
Avatar of yasser_helmy
yasser_helmy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial