MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
CasaDelGato
Post subject: Size of JTable in Form  PostPosted: Jan 25, 2011 - 01:55 AM
Registered Member
Registered Member


Joined: Sep 30, 2010
Posts: 21

I have a new form with a JTable in it. (wrapped in a JScrollPane of course)
The table has a simple data model with a fixed number of rows and columns.
All of this is placed in a GridBagLayout. (No Fill)

The problem is that when it's displayed, the Scroll Pane is twice as tall as the Table, so there is this big blank area under the table. looks really stupid, and wastes a LOT of screen space.
Any suggestions on what settings I need to check to get rid of this?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
CasaDelGato
Post subject: RE: Size of JTable in Form  PostPosted: Jan 25, 2011 - 04:49 PM
Registered Member
Registered Member


Joined: Sep 30, 2010
Posts: 21

It's interesting that all it takes is a finger twitch at the wrong time to end up posting the same msg twice.
And since I didn't notice quickly, I can't seem to delete the duplicate.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits