-
Bug
-
Resolution: Fixed
-
P3
-
6
-
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.