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.
Using NB platform is all about not plumbing. But the current way to resize a window, as described here[1], has made the simple setSize(int width, int height) used in JFrames in all there is there: http://wiki.netbeans.org/DevFaqInitialMainWindowSize#How_do_I_adjust_the_initial_size.2Fposition_of_the_main_window.3F Beside that, after 2 hours of trying I'm not seeing the window being resized, although I followed instructions, I believe.
*** Bug 191869 has been marked as a duplicate of this bug. ***
.setSize() is also available, e.g. public class Installer extends ModuleInstall { @Override public void restored() { WindowManager.getDefault().invokeWhenUIReady( new Runnable() { @Override public void run() { WindowManager.getDefault().getMainWindow().setSize( 100, 100); } }); } }