-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 6
-
Component/s: client-libs
-
b114
-
generic
-
generic
-
Verified
The following line:
new GroupLayout(new JPanel()).createSequentialGroup().addComponent(null);
throws IllegalArgumentException and the following:
new GroupLayout(new JPanel()).createSequentialGroup().addGroup(null);
leads to NullPointerException
In javadoc for javax.swing.GroupLayout.Group they are specified vice versa.
new GroupLayout(new JPanel()).createSequentialGroup().addComponent(null);
throws IllegalArgumentException and the following:
new GroupLayout(new JPanel()).createSequentialGroup().addGroup(null);
leads to NullPointerException
In javadoc for javax.swing.GroupLayout.Group they are specified vice versa.