-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2
-
b14
-
x86
-
linux
-
Verified
If you set extended state to MAXIMAZED_BOTH before showing frame
it will be shown in normal state on Linux (the same program works
well on Windows). The test fails with 1.4.2 and later (have not tried earlier
versions)
import java.awt.Frame;
public class ext_state_test {
public static void main(String[] args) {
Frame f = new Frame("");
f.setExtendedState(Frame.MAXIMIZED_BOTH); // interchange with following line
f.setVisible(true);
}
}
it will be shown in normal state on Linux (the same program works
well on Windows). The test fails with 1.4.2 and later (have not tried earlier
versions)
import java.awt.Frame;
public class ext_state_test {
public static void main(String[] args) {
Frame f = new Frame("");
f.setExtendedState(Frame.MAXIMIZED_BOTH); // interchange with following line
f.setVisible(true);
}
}
- relates to
-
JDK-6684922 Setting maximized state of JFrame still does not work properly
- Closed
-
JDK-4742412 X11: Frames cannot be shown initially maximized
- Closed