mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-28 12:57:07 +01:00
parent
40555cce59
commit
64ee00bd1d
@ -68,9 +68,9 @@ public class LauncherFrame extends JFrame {
|
|||||||
instancesModel = new InstanceTableModel(launcher.getInstances());
|
instancesModel = new InstanceTableModel(launcher.getInstances());
|
||||||
|
|
||||||
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
||||||
setSize(700, 450);
|
|
||||||
setMinimumSize(new Dimension(400, 300));
|
setMinimumSize(new Dimension(400, 300));
|
||||||
initComponents();
|
initComponents();
|
||||||
|
pack();
|
||||||
setLocationRelativeTo(null);
|
setLocationRelativeTo(null);
|
||||||
|
|
||||||
SwingHelper.setIconImage(this, Launcher.class, "icon.png");
|
SwingHelper.setIconImage(this, Launcher.class, "icon.png");
|
||||||
@ -107,7 +107,7 @@ public class LauncherFrame extends JFrame {
|
|||||||
splitPane.setDividerLocation(200);
|
splitPane.setDividerLocation(200);
|
||||||
splitPane.setDividerSize(4);
|
splitPane.setDividerSize(4);
|
||||||
splitPane.setOpaque(false);
|
splitPane.setOpaque(false);
|
||||||
container.add(splitPane, "grow, wrap, span 5, gapbottom unrel");
|
container.add(splitPane, "grow, wrap, span 5, gapbottom unrel, w null:680, h null:350");
|
||||||
SwingHelper.flattenJSplitPane(splitPane);
|
SwingHelper.flattenJSplitPane(splitPane);
|
||||||
container.add(refreshButton);
|
container.add(refreshButton);
|
||||||
container.add(updateCheck);
|
container.add(updateCheck);
|
||||||
|
Loading…
Reference in New Issue
Block a user