This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
to reconstruct: 1. maximize a window. 2. close the window. 3. reopen the window. result: the window is not maximized, but in the size of the screen i.e. the window's middle icon is maximize. the user can't restore the original size and position of the window.
Please provide more information such as build # etc. I tested this on nb3.2 build #38 and everything works well.
Target milestone -> 3.3
the bug was reconstructed on 3.2 release build.
It is a issue in window system. The behavior has changed a little: [SDI] 1. open window on size1 2. resize it on size2 1. maximize a window 2. close it 3. reopen it. Result: normalized window, size is size1 [MDI] 1. open window on size1 2. resize it on size2 1. maximize a window 2. close it 3. reopen it. Result: maximized window, after normalize then window has size1
Target milestone -> 3.3.1.
changed the "Summary" to more accurately reflect the problem. The trouble is that on JDK 1.3 java.awt.Frame does not know about Maximized/Minimized state. This has been fixed in JDK 1.4. We will have to either drop support for JDK 1.3 or find a way to run the needed code when JDK 1.4 is detected (reflection?)
*** Issue 18167 has been marked as a duplicate of this issue. ***
yes, reflection when 1.4 is detected is the best way (for user) to go, although not very nice from programmer's point of view. As for issue 18167 - it is talking specifically about main window - keep in mind that there is also missing support for persisting normal/maximized state of main window into xml file (WindowManager.wswmgr), so this will have to be included in the fix as well.
Assigning back to Dafe.
Target milestone -> 3.4
passing to winsys guys.
Marek, you have fixed something like this, or no ?
It is working now, closing as worksforme.
no it still doesn't work. We need to use reflection to call JDK 1.4 Frame.{set,get}ExtendedState()
*** Issue 25335 has been marked as a duplicate of this issue. ***
actually this issue has nothing to do with minimized state, updated "Summary"
Fixed. One need to run the IDE with JDK 1.4
*** Issue 25476 has been marked as a duplicate of this issue. ***
Trung you changed XML for window manager -> new DTD -> update apichanges. Please next time either do necessary update of let us know so that we can do that.
verified in [nb_dev](20021030)
Resolved for 3.4.x or earlier, no new info since then -> closing.