Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.4.0
-
Fix Version/s: 7
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
CPU:sparc
-
OS:solaris_8
Description
Java version: 1.4.0
Frames cannot be shown initially maximized due to inset calculation/resize
dance (this makes Window Manager think that after maximization, another resize
happened). There was a similar bug filed against Windows platform (4464714), but
it was caused by different reasons, and is now fixed.
Test case:
===
import javax.swing.*;
public class Maxim extends JFrame
{
public static void main(String args[])
{
new Maxim();
}
public Maxim()
{
setDefaultCloseOperation(EXIT_ON_CLOSE);
setExtendedState(MAXIMIZED_BOTH);
show();
}
}
===
Frames cannot be shown initially maximized due to inset calculation/resize
dance (this makes Window Manager think that after maximization, another resize
happened). There was a similar bug filed against Windows platform (4464714), but
it was caused by different reasons, and is now fixed.
Test case:
===
import javax.swing.*;
public class Maxim extends JFrame
{
public static void main(String args[])
{
new Maxim();
}
public Maxim()
{
setDefaultCloseOperation(EXIT_ON_CLOSE);
setExtendedState(MAXIMIZED_BOTH);
show();
}
}
===
Attachments
Issue Links
- relates to
-
JDK-6365898 Frame.setExtendedState(Frame.MAXIMIZED_BOTH) doesn't work well on Linux
-
- Closed
-