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.
if (mc.descriptionBundle != null) {
mi.setDescriptionBundle(mc.descriptionBundle);
}
if (mc.relativeBounds != null) {
mi.setRelativeBounds(mc.relativeBounds);
// #21921: Has to run in AWT thread since accessing GUI.
} else if (mc.bounds != null) {
SwingUtilities.invokeLater(new Runnable() {
mi.setBounds(mc.bounds);
public void run() {
Rectangle bounds;
if((bounds = mc.relativeBounds) != null) {
mi.setRelativeBounds(bounds);
} else if((bounds = mc.bounds) != null) {
mi.setBounds(bounds);
});
if (mc.frameType != null) {
//Convert frame type
WindowManagerImpl wmi = WindowManagerImpl.getDefault();