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.
Created attachment 163209 [details] A project to reproduce the error To reproduce this issue with the attached project: 1) In the Menu Bar, select Window->Test. This will create a new TestTopComponent with 2 buttons in the editor mode. 2) Click jButton2. This will set the visibility of the TestTopComponent to false. 3) Drag the tab of the TestTopComponent to any mode. The visibility of the component will be reset. A possible solution may be found in org.netbeans.swing.tabcontrol.plaf.StackLayout. Here, a component's visibility is changed under certain conditions. Merely commenting out the lines calling setVisible seems to fix the issue.