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.
*/
public Dimension getPreferredSize () {
Dimension d = super.getPreferredSize ();
if (! Boolean.getBoolean ("netbeans.windows.small_main_window"))
if (Boolean.getBoolean("netbeans.windows.small_main_window")) { // NOI18N
// Make sure GBL does not try to squeeze out menu labels.
// See MainWindow.StatusMenuBar.
d.width = Math.min(d.width, 200);
} else {
d.width = 1024;
}
return d;