aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to set paddings? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to set paddings?" Watch "How to set paddings?" New topic
Author

How to set paddings?

Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 497

Hi,

Please have a look at the following code



I want to have some vertical space between the text fields. How could I do that? Please help...


Are you better than me? Then please show me my mistakes..
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

Check out GridLayout API docs for a constructor which lets you define the gaps


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 497

Maneesh Godbole wrote:Check out GridLayout API docs for a constructor which lets you define the gaps


Thanks a lot for the quick reply.. I will check it and come back :
Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 497

First, pardon me for the late reply...

Thanks lot for the answer... It worked...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set paddings?
 
Similar Threads
Alignment Issue
Maximize button in JDialog
RMI: FileNotFound exception and NullPointException
The "Next" is not working
Java uses or overrides a deprecated API?