grouplayout
NetBeans, GUI builder (group layout) centering a component
I\'m trying to design a JButton (an \"Ok\" button) that to look good has to be horizontally centered in the containing JFrame.[详细]
2023-04-12 11:34 分类:问答With GroupLayout, how can I align separate components to each end of one longer component? Or, can one component span multiple parallel groups?
tl;dr: I want to do what\'s in the second picture (ignore the red lines) I understand how GroupLayout works, but I can\'t figure this out, or whether it\'s even possible. I initially had this code:[详细]
2023-04-01 06:15 分类:问答How to make components normal sized in GroupLayout in Java
I am trying to make a layout for my applet, but I cannot handle one problem - s开发者_运维问答ome of the elements (e.g. JComboBox) are as big as they can be - take all place in applet. setSize functio[详细]
2023-03-13 14:05 分类:问答How to remove a specific element from a JPanel using BorderLayout/GroupLayout?
I need to remove the Component in the Center of the JPanel, but after some tries no prevail. I tried the method here:[详细]
2023-03-12 05:06 分类:问答Using GroupLayout
I am trying to use GroupLayout from NetBeans 开发者_如何转开发7.0, but I simply cannot select it. I did go to Properties/Libraries/Wrapped JARs/swing-layout-1.0.4.jar and even make it public but still[详细]
2023-03-08 02:42 分类:问答Swing GroupLayout show only one component? How to fix that?
So, I have basic frame with GroupLayout and 3 component. It in theory should look something like that[详细]
2023-02-18 11:40 分类:问答Why does my JTextArea overflow the frame in GroupLayout?
I\'m observing some strange behavior using GroupLayout.I\'ve got a JTextArea that is contained inside of a JScrollPane that is resizing and pushing other components out of the JFrame.Oddly, if I rearr[详细]
2023-01-29 07:12 分类:问答GCJ javax.swing.GroupLayout
I am using gnu compiler for java version 4.4.4. It doesn\'t come with support for javax.swing.Group开发者_运维知识库Layout. Do later versions come with this support? I have build GCC many times before[详细]
2023-01-14 15:35 分类:问答Java's Swing seems to be changing the layout from Card Layout
I am having some pretty strange symptoms with JPanels and CardLayout. Essentially, I have cards which act as \"pages\" since I can only hold 12 cells on the grid, and I display each page as a card, an[详细]
2022-12-29 14:04 分类:问答Mixed alignment with Java Swing's GroupLayout
I\'m trying to build a GUI window in my application.What I\'m trying to do is have a window, with a few buttons at the top, and a large text area.Something like this:[详细]
2022-12-27 05:15 分类:问答