-
Bug
-
Resolution: Fixed
-
P3
-
1.1.7, 1.2.0
-
b01
-
x86
-
windows_95, windows_nt
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2023125 | 1.2.1_002 | Tao Ma | P3 | Resolved | Fixed | b02 |
JDK-2023124 | 1.1.8 | Tao Ma | P3 | Closed | Fixed | 1.1.8 |
import java.awt.event.*;
public class CantMinMax extends Frame {
public static void main(String args[]) {
CantMinMax cantMinMax = new CantMinMax();
}
public CantMinMax () {
addWindowListener(new WindowAdapter() {public void windowClosing(WindowEvent e) {System.exit(0);}});
setTitle("Can't Min/Max in JDK 1.1.7");
setSize(300,150);
setResizable(false);
show();
}
}
_______________________________________
This code demonstrates a problem where min/max buttons do not appear on a Frame which is not resizable. If the code is modified in the following way:
public CantMinMax () {
addWindowListener(new WindowAdapter() {public void windowClosing(WindowEvent e) {System.exit(0);}});
setTitle("Can't Min/Max in JDK 1.1.7");
setSize(300,150);
show();
setResizable(false);
}
The frame is not shown onscreen at all. Since Frames and JFrames in 1.1.6 had min/max buttons, the customer expects this code to work.
elizabeth.mezias@Eng 1998-10-02
- backported by
-
JDK-2023125 Min/Max buttons not created with Frame and JFrame when not resizable
-
- Resolved
-
-
JDK-2023124 Min/Max buttons not created with Frame and JFrame when not resizable
-
- Closed
-
- relates to
-
JDK-4172782 Frame.setResizable(false) prevents frame being minimized
-
- Resolved
-
-
JDK-1231233 Frame.setResizable(false) does not prevent resizing.
-
- Closed
-
-
JDK-4080710 java.awt.Frame.setResizable(false) does not disable the Frame's maximize button
-
- Closed
-
-
JDK-4148981 Non-resizable dialog still has frame icon that allows sizing
-
- Closed
-
-
JDK-4151789 setResizable(false) causes JFrame's minimizable icon to disappear
-
- Closed
-
-
JDK-4089903 Need to disable Maximize widget from Frame
-
- Closed
-