Centered BotUI

This commit is contained in:
Parnassian
2014-02-22 17:30:33 +01:00
parent 9f301966eb
commit 09c679d05f
+2 -1
View File
@@ -91,10 +91,11 @@ public class BotUI extends JFrame implements ActionListener, ComponentListener {
this.add(panel, BorderLayout.CENTER); this.add(panel, BorderLayout.CENTER);
pack(); pack();
setLocationRelativeTo(null);
setVisible(true); setVisible(true);
new BotDialog(this); new BotDialog(this);
LogArea.log("parabot " + Configuration.BOT_VERSION +" started"); LogArea.log("parabot " + Configuration.BOT_VERSION + " started");
} }
@Override @Override