Group « Layout « Java Swing Q&A





1. Group java components    stackoverflow.com

I'm creating a GUI in Java using the GridBagLayout. Is there any way for me to create a component group so that I can pass the reference to the group ...

2. Pesky Group Layout    coderanch.com

Hello all. I'm new here, so be nice. Anywho...I'm having a bit of trouble using the GroupLayout for my panel. My requirements for this little GUI that I'm writing involve dynamic label-field values. Thus, I have written some generic methods to handle the layout that take a LinkedHashMap of label-value pairs to build the panel. It's working great...with one exception: resizing ...

3. Ideas on achieving this using group layout?    coderanch.com

Hello, I've been playing about with GroupLayout manager and what I want to achieve is a several componets stacked on top of each other followed by 2 evenly spaced buttons. I'm not quite sure how to achieve this. If you look at the simple example I have below where I'm trying to have a central label followed by 2 evenly spaced ...

4. group layout - span ?    java-forums.org

5. Group Layout Alignment    java-forums.org

Hello, Here is the problem: I have a variable number of components positioned as I want in a GroupLayout (the layout and position between components work as I want). I add this GroupLayout to a JPanel and this one to a JFrame, and I see that the group is aligned to the up-left corner. The question is, how do I get ...