A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Developer Certification (SCJD/OCMJD)
GridLayout Stretch my JTextFields...
Julio Cesar Marques
Joined: Mar 21, 2009
May 05, 2009 13:21:34
How to avoid this behavior?
I have to put each JTextField in a different JPanel? Seems strange to me...
I want to make my screen like this:
Sou i try one GridLayout 3x2 but it stretch TextFields...
What to do?
Julio Cesar Lopes Marques
Sun Certified Java Developer 5, Sun Certified Java Programmer 5
Joined: Sep 13, 2007
May 05, 2009 22:30:45
For GridLayouts, the components stretches to fill the space. You can put the JTextField onto a JPanel then put this JPanel to the GridLayout.
Don't get me started about those stupid
subject: GridLayout Stretch my JTextFields...
Reg : getting Values from applet using jsp
WA #1.....word association
Exception in thread
Reg:Applet to servlet Communication
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014