stanleyhuen
asked on
JTable question again
Hi,
How can I make the JTable in a JScrollPane uses up all the spaces in the JScrollPane?
How can I make the JTable in a JScrollPane uses up all the spaces in the JScrollPane?
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.