-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
6u5
-
x86
-
linux
Java applications don't get WindowStateListener.windowStateChanged event when user is doing maximize/unmaximize of the window/frame
Steps to Reproduce:
1. Unzip attched MacMaximize.zip NetBeans project and run MacMaximize.jar in /dist subdirectory
2. App frame is opened; minimize it, restore it and watch how the logs are written into console. So far so good.
3. Now maximize and restore -> no logs written and no text changes visible, because application don't get windowStateChanged event, but it should.
Note that on Windows everything works OK.
Steps to Reproduce:
1. Unzip attched MacMaximize.zip NetBeans project and run MacMaximize.jar in /dist subdirectory
2. App frame is opened; minimize it, restore it and watch how the logs are written into console. So far so good.
3. Now maximize and restore -> no logs written and no text changes visible, because application don't get windowStateChanged event, but it should.
Note that on Windows everything works OK.
- relates to
-
JDK-7102238 java.awt.Frame.setSize() works wrong after setResizable(false)
-
- Open
-
-
JDK-7102299 javax.swing.JFrame.setExtendedState(Frame.ICONIFIED) does not work before setVisible(true)
-
- Closed
-