diff --git a/src/mrbesen/cr/auto/clicker/UI.java b/src/mrbesen/cr/auto/clicker/UI.java index 353c253..e8678b5 100644 --- a/src/mrbesen/cr/auto/clicker/UI.java +++ b/src/mrbesen/cr/auto/clicker/UI.java @@ -4,6 +4,7 @@ import java.awt.Color; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; +import java.awt.event.KeyEvent; import java.io.File; import java.io.FileWriter; import java.io.IOException; @@ -94,7 +95,7 @@ public class UI implements ActionListener { //init screen frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); - frame.setSize(830, 180); + frame.setSize(830,( System.getProperty("os.name").toLowerCase().contains("win") ? 220 : 180));//extra large for windows save.setText("Save"); save.addActionListener(this); @@ -131,7 +132,7 @@ public class UI implements ActionListener { middle.add(skip); middle.add(pause); middle.add(exit); - middle.add(overlay); + //middle.add(overlay);//added later middle.add(autoplay); middle.add(doubleplace); middle.add(backfocus);