JavaRanch » Java Forums »
Java »
Swing / AWT / SWT
| Author |
problem in textfield width...
|
Paru kutty
Greenhorn
Joined: May 16, 2008
Posts: 6
|
|
hi,I am not getting the textfield width properly...I am using scrollpane,but textarea is not narrow that it can't be seen...Am using grid bag layout.. Thanks in advance....  [ June 05, 2008: Message edited by: Rob Prime ]
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
Paru, Next time, please UseCodeTags. That will make your code so much easier to read. I've done it for you this time, and you can see the improved result.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Ted Smyth
Ranch Hand
Joined: May 28, 2008
Posts: 73
|
|
Ditch GridBag, it's a nightmare of a layout manager (in my humble opinion). Try MigLayout!
|
Edward Smith
|
 |
satishkumar janakiraman
Ranch Hand
Joined: May 03, 2004
Posts: 334
|
|
Try this instead of
|
 |
 |
|
|
subject: problem in textfield width...
|
|
|
|