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.
Summary: | Main window always resized to original (after installation) size even though it was maximized when closing | ||
---|---|---|---|
Product: | platform | Reporter: | host <host> |
Component: | JDK Problems | Assignee: | Antonin Nebuzelsky <anebuzelsky> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | mmirilovic |
Priority: | P2 | Keywords: | JDK_SPECIFIC |
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
host
2012-06-12 15:39:23 UTC
Standa, please evaluate or reassign.. This is a regression in JDK 1.7. Running the code below on JDK 1.6 correctly shows the window maximized across the whole screen. However when running on JDK 1.7 (update 6, build 13) the window is resized to given bounds instead of being maximized. JFrame frame = new JFrame(); frame.setBounds(100, 300, 500, 500); frame.setVisible(true); frame.setExtendedState(frame.MAXIMIZED_BOTH); Note that setting the extended state first and then making the main window visible fixes the problem. worked around in core-main 24192efd68b5 Integrated into 'main-golden', will be available in build *201206200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/24192efd68b5 User: S. Aubrecht <saubrecht@netbeans.org> Log: #214056 - workaround for JDK bug 7177173 |