-
Bug
-
Resolution: Fixed
-
P4
-
1.1.6, 1.2.0, 1.2.2
-
008
-
generic, x86
-
windows_nt
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2107856 | 1.3.0 | Peter Zhelezniakov | P4 | Closed | Fixed | beta |
Name: el35337 Date: 09/14/98
Any java window is not layed out properly when the following steps are performed:
1. Run the program below on WinNT 4.0
2. Click on the minimize button (third button from right on title bar)
3. Go down to the taskbar and right click on the iconified button for this program
4. On the resulting right mouse menu, select Maximize
5. The window maximizes but is not laid out correctly
Example code follows:
-----------------------
import java.awt.*;
import java.awt.event.*;
public class test
{
public static void main(String []args)
{
final Frame f = new Frame("Maximize Test");
f.addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{ System.exit(0); };
});
f.add(new Button("North"),BorderLayout.NORTH);
f.add(new Button("South"),BorderLayout.SOUTH);
f.add(new Button("East"),BorderLayout.EAST);
f.add(new Button("West"),BorderLayout.WEST);
f.add(new Button("Cent"),BorderLayout.CENTER);
f.pack();
f.setVisible(true);
}
}
(Review ID: 38717)
======================================================================
- backported by
-
JDK-2107856 Win32: layout not performed when maximized from taskbar
-
- Closed
-
- duplicates
-
JDK-4234553 win32: Resize problems in cricket
-
- Closed
-
-
JDK-4336983 Repaint problem when maximizing via right-click from Windows Task Bar
-
- Closed
-
-
JDK-4264454 Maximizing directly from the minimized state doesn't resize properly.
-
- Closed
-
- relates to
-
JDK-4298814 JFrame with warning banner layed out incorrectly when deiconified
-
- Resolved
-