}
}
- window.setVisible(true);
- window.requestFocus();
- window.toFront();
- window.setIsRestoring(false);
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
+ window.setVisible(true);
+ window.requestFocus();
+ window.toFront();
+ window.setIsRestoring(false);
+
ActiveDockableTracker.requestDockableActivation(mainTab);
}
});
}
});
} else {
- window.setIsRestoring(false);
- window.setVisible(true);
+ SwingUtilities.invokeLater(new Runnable() {
+ @Override
+ public void run() {
+ window.setIsRestoring(false);
+ window.setVisible(true);
+ }
+ });
}
}