-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
1.4.0
-
sparc
-
solaris_8
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();
}
}
===
- relates to
-
JDK-6365898 Frame.setExtendedState(Frame.MAXIMIZED_BOTH) doesn't work well on Linux
- Closed