Community
Participate
Working Groups
1) I create a Panel 2) Change it to BoxLayout (X_Axis) => This change is ignored anyhow and remains on FlowLayout 3) Put a Button in it 4) Chang it to BoxLayout (X_Axis) => code is generated like jPanel3.setLayout(new BoxLayout(this,javax.swing.BoxLayout.X_AXIS)); causes a Java-Error: java.awt.AWTError: BoxLayout can't be shared the correct code should be: jPanel3.setLayout(new BoxLayout(jPanel3,javax.swing.BoxLayout.X_AXIS));
*** This bug has been marked as a duplicate of 61870 ***
verified and closed for 1.0.2