This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes problem in textfield width... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "problem in textfield width..." Watch "problem in textfield width..." New topic
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

 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: problem in textfield width...
 
Similar Threads
arrange the spacing between components
help automate code
GridBagLayout...!
help on reading textfield on 1 class from another class and using it to create a file
how to set this a borderq