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 177986 - Closing last opened TopComponent with different LAF doesn't work immediately
Summary: Closing last opened TopComponent with different LAF doesn't work immediately
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: issues@platform
URL:
Keywords: L&F
Depends on:
Blocks:
 
Reported: 2009-12-02 05:24 UTC by patrick_net
Modified: 2011-03-01 17:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description patrick_net 2009-12-02 05:24:48 UTC
Closing last opened TopComponent with different LAF doesn't work immediately.
With the usual Netbeans LAF, closing the last TopComponent works how it should. As soon as a different LAF is added like Nimbus, the last opened TopComponent doesn't close properly.

What type of Swing component is your TopComponent?
-org.openide.windows.TopComponent

Which theme do you use?
-Nimbus

Any tack traces available?
-Unfortunately not.
Comment 1 Stanislav Aubrecht 2010-09-23 14:41:15 UTC
cannot reproduce in nb 6.9.1, windows vista, nimbus l&f, jdk 1.6.0_20
Comment 2 patrick_net 2011-01-27 11:08:49 UTC
Now using Netbeans 6.9.1 and the option in etc/*.conf
default_options="--laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel -J-Dnb.forceui=Vista"

When using "-J-Dnb.forceui=Vista" the last opened Topcomponent doesn't disappear. This TopComponent needs to be opened in Editor mode.

When NOT using "-J-Dnb.forceui=Vista" it closes fine.
Comment 3 Stanislav Aubrecht 2011-02-23 11:28:56 UTC
core-main a7cb7c1d0af5
Comment 4 Quality Engineering 2011-03-01 17:58:11 UTC
Integrated into 'main-golden', will be available in build *201103011142* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a7cb7c1d0af5
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #177986 - repaint the main window when closing the last TC