This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
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


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: 504

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: 10711
    
    9

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: 504

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: 504

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?