* better FB -> GP switching behaviour
This commit is contained in:
parent
d9eb335432
commit
8fecd600c3
|
@ -140,7 +140,11 @@ public class MainFrame extends JFrame {
|
||||||
});
|
});
|
||||||
|
|
||||||
pad.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
|
pad.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
|
||||||
pad.setModalExclusionType(ModalExclusionType.APPLICATION_EXCLUDE);
|
pad.setModalExclusionType(ModalExclusionType.TOOLKIT_EXCLUDE);
|
||||||
|
|
||||||
|
if (Settings.isMacSandbox()) {
|
||||||
|
MacAppHelper.setWindowCanFullScreen(pad);
|
||||||
|
}
|
||||||
pad.setLocationByPlatform(true);
|
pad.setLocationByPlatform(true);
|
||||||
pad.setVisible(true);
|
pad.setVisible(true);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
Loading…
Reference in New Issue