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.

Bug 22810

Summary: [Windows L&F] Buttons for maximized window aren't visible after close|reopen
Product: platform Reporter: Marian Mirilovic <mmirilovic>
Component: Window SystemAssignee: Peter Zavadsky <pzavadsky>
Status: CLOSED FIXED    
Severity: blocker CC: ttran
Priority: P3 Keywords: L&F
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description Marian Mirilovic 2002-04-25 17:02:12 UTC
[nb_dev](20020425), [jdk1.4](fcs)
-ui
com.sun.java.swing.plaf.windows.WindowsLookAndFeel

Steps to reproduce:
- run IDE in MDI
- open file
- maximize window
-> buttons are visible in upper-rigth corner
- close window
- reopen file again
-> buttons aren't visible

Thanks to Silvio Bierman <sbierman@idfix.nl> for
report it on nbui.
Comment 1 mslama 2002-06-25 12:03:23 UTC
Assigning to Peter.
Comment 2 Peter Zavadsky 2002-07-10 10:37:40 UTC
It seems it is a problem of (Windows L&F)
com.sun.java.swing.plaf.windows.WindowDesktopManager (55) 
which sets maximized state also for already disposed 
internal frame, what brakes the buttons.
There is a workaround, will look at the class first.
Comment 3 Peter Zavadsky 2002-07-10 16:51:29 UTC
Created also a bug for jdk (#4712690).
Comment 4 Peter Zavadsky 2002-07-10 17:33:23 UTC
Fixed in [trunk]

Fix:
core/../windows/frames/InternalFrameTypeImpl.java [1.26]
Comment 5 Marian Mirilovic 2002-07-22 14:01:29 UTC
verified in [nb_release34](20020722) & [nb_dev](20020719)
Comment 6 Quality Engineering 2003-07-01 16:20:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.