-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.1
-
None
-
sparc
-
solaris_2.5
Unable to prevent resizing.
According to the JDK1.1beta3 documentation, the following frame should
not be able to be resized because of the setResizable method, but it is resizable.
import java.awt.Frame;
class setResizableError {
setResizableError() {
}
public static void main(String args[]) {
Frame my_Frame = new Frame();
my_Frame.setSize(541, 758);
boolean resize_Variable = false;
my_Frame.setResizable(resize_Variable);
my_Frame.pack();
my_Frame.show();
}
}
According to the JDK1.1beta3 documentation, the following frame should
not be able to be resized because of the setResizable method, but it is resizable.
import java.awt.Frame;
class setResizableError {
setResizableError() {
}
public static void main(String args[]) {
Frame my_Frame = new Frame();
my_Frame.setSize(541, 758);
boolean resize_Variable = false;
my_Frame.setResizable(resize_Variable);
my_Frame.pack();
my_Frame.show();
}
}
- duplicates
-
JDK-1231233 Frame.setResizable(false) does not prevent resizing.
-
- Closed
-