Results 1 to 2 of 2
Thread: How Can I space out buttons?
- 04-07-2011, 12:49 AM #1
Member
- Join Date
- Feb 2011
- Posts
- 10
- Rep Power
- 0
- 04-07-2011, 02:28 AM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,619
- Rep Power
- 5
I presume button you mean JButton - see Borders: How to Use Borders (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components) Depending upon how you wish the JButton to be displayed, you may wish to wrap it in a JPanel and set the border on the JPanel.
Similar Threads
-
Space Invaders help!
By Midge in forum New To JavaReplies: 5Last Post: 03-04-2010, 04:38 PM -
add a space after 10 lines?
By ukemasta in forum New To JavaReplies: 10Last Post: 01-20-2010, 12:12 PM -
SWT Canvas drawing realtive to image space not canvas space.
By bobbie in forum SWT / JFaceReplies: 0Last Post: 07-05-2009, 12:31 PM -
Blank space
By sandy1028 in forum New To JavaReplies: 1Last Post: 04-21-2009, 10:00 AM -
space between images !!
By nhawlman in forum New To JavaReplies: 1Last Post: 01-09-2009, 11:17 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks