Removed bin

This commit is contained in:
Kristian Knarvik 2018-01-27 12:35:29 +01:00
parent 55c7c8defd
commit a24144bb18
4 changed files with 12 additions and 14 deletions

4
.gitignore vendored
View File

@ -25,4 +25,6 @@
hs_err_pid* hs_err_pid*
*.xml *.xml
*.iml *.iml
bin/

View File

@ -1,2 +0,0 @@
java -jar Minecraft-Server-Launcher.jar
pause

View File

@ -1,3 +0,0 @@
Manifest-Version: 1.0
Main-Class: Main

View File

@ -82,6 +82,7 @@ public class GUI {
JPanel controlPanel = new JPanel(); JPanel controlPanel = new JPanel();
controlPanel.setBorder(new EmptyBorder(5, 5, 5, 5)); controlPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
GroupLayout controlLayout = new GroupLayout(controlPanel); GroupLayout controlLayout = new GroupLayout(controlPanel);
GroupLayout controlLayout2 = new GroupLayout(controlPanel);
controlPanel.setLayout(controlLayout); controlPanel.setLayout(controlLayout);
JLabel basicControls = customLabel("Basic controls"); JLabel basicControls = customLabel("Basic controls");
JButton sendStart = customButton("Start servers"); JButton sendStart = customButton("Start servers");
@ -89,6 +90,9 @@ public class GUI {
JButton backup = customButton("Backup"); JButton backup = customButton("Backup");
JButton viewConsole = customButton("View server consoles"); JButton viewConsole = customButton("View server consoles");
JLabel profile = customLabel("Profile"); JLabel profile = customLabel("Profile");
JButton addProfile = customButton("+");
JButton delProfile = customButton("-");
JComboBox<String> profiles = new JComboBox<>(new String[]{"Default"});
controlLayout.setVerticalGroup( controlLayout.setVerticalGroup(
controlLayout.createSequentialGroup() controlLayout.createSequentialGroup()
@ -98,22 +102,19 @@ public class GUI {
.addComponent(sendStart) .addComponent(sendStart)
.addComponent(sendStop) .addComponent(sendStop)
.addComponent(backup) .addComponent(backup)
.addComponent(viewConsole)) .addComponent(viewConsole)));
.addGroup(controlLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
.addComponent(profile)));
controlLayout.setHorizontalGroup( controlLayout.setHorizontalGroup(
controlLayout.createSequentialGroup() controlLayout.createSequentialGroup()
.addGroup(controlLayout.createParallelGroup(GroupLayout.Alignment.LEADING) .addGroup(controlLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
.addComponent(basicControls) .addComponent(basicControls)
.addComponent(profile) .addComponent(sendStart))
.addComponent(sendStart))
.addGroup(controlLayout.createParallelGroup(GroupLayout.Alignment.LEADING) .addGroup(controlLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
.addComponent(sendStop)) .addComponent(sendStop))
.addGroup(controlLayout.createParallelGroup(GroupLayout.Alignment.LEADING) .addGroup(controlLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
.addComponent(backup)) .addComponent(backup))
.addGroup(controlLayout.createParallelGroup(GroupLayout.Alignment.LEADING) .addGroup(controlLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
.addComponent(viewConsole))); .addComponent(viewConsole)));
tabs.addTab("Control panel", null, controlPanel, "Basic server controls"); tabs.addTab("Control panel", null, controlPanel, "Basic server controls");