Space « Development « Java Swing Q&A





1. Control spacing in Swing    stackoverflow.com

Are there guidelines for how much space controls in Swing should have around them? Also there is the question on how exactly to achieve that: Some layout managers have support for ...

2. How to make Java Swing components fill available space?    stackoverflow.com

I cannot seem to get my Java Swing components to work together correctly. What I want to do, is have a JPanel fill ALL the space available inside a JTabbedPane. At the ...

3. Spacing & Sizing GUI Elements (Equal Spacing ? Intuitive Opns?)    forums.netbeans.org

zipzit Joined: 22 Nov 2009 Posts: 8 Location: Metro Detroit, Michigan, USA Posted: Sun Nov 22, 2009 3:13 am Post subject: Spacing & Sizing GUI Elements (Equal Spacing ...

4. VK_BACK_SPACE    coderanch.com

anybody have any problems with KeyEvent.VK_BACK_SPACE in 1.3? i have a key binding to VK_BACK_SPACE in a JTextWindow that is generating two action events for each key stroke. when i change the binding to '\b', i get one event! (the code worked fine in 1.2.2). (yeah, i know i should check sun site.)

5. Alignment and Spacing between components    coderanch.com

Hi, Do you have to use GridBagLayout? You can try the following code if you don't. I'm not sure if it's exactly what you want though, because: 1) the JtextFields are all the same width. But, note that although you set the textfield width to a certain value, this does not limit the amount of characters that can be entered. 2) ...

6. seeking method of getting free disk space    coderanch.com

I am trying to see how I can get the available disk space on the PC that my application is running on. The target OS of my application is currently Windows NT but I would also like to be able to do the same thing on a UNIX box. Any ideas? Lon Allen

7. troublesome space bar!!!!    coderanch.com

8. Swing spacing question    coderanch.com

9. Line spacing    coderanch.com

Hi, my first newbie question. I did search and could not find an answer elsewhere. I am creating a small application at work as part of a learning experience in Java, a simple How-To manual for our newbies. At this point I am trying to get the banner to look right, and have made some progress. Where I am currently stuck ...





10. arrange the spacing between components    coderanch.com

12. Problem with margins/spacing    java-forums.org

Hi folks, I am trying to build a JToolBar menu with some Icons, but I just can't find the way to add the JButtons without having them align properly, my problem is that the spacing between the TOP of the JToolBar and the TOP of the JButton is huge, so I've trying with: JToolBar MenuArbol= new JToolBar("TEST",SwingConstants.HORIZONTAL); MenuArbol.setPreferredSize(new Dimension(150, 25)); MenuArbol.setLayout(new ...