aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes problem in textfield width... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
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: 19693
    
  20

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 - OCEEJBD 6
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://aspose.com/file-tools
 
subject: problem in textfield width...