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.
I've tried to override componentShowing in NbMainExplorer.ExplorerTab in order to delay the initialization of components inside. Works fine except for Tools/Options dialog. The problem is that first of all the TopComponent.getPreferredSize () is called and after that the TopComponent.componentShowing is. As a result the initial size of the component does not include the components added in componentShowing. Please call the componentShowing before other methods that depend on the content of the component are called.
Created attachment 5769 [details] Apply the diff and try to open Tools/Options
> Please call the componentShowing before other > methods that depend on the content of the > component are called. How do you find out the "other methods that depend on the content of the component are called"? Module can override any public/protected method in TopComponent and we don't know how they do it
Fixed in [trunk] Fix: core/../windows/ModeImpl.java [1.136] Yarda: you can put in your change too.
Works for me.
Resolved for 3.4.x or earlier, no new info since then -> closing.