diff --git a/app/src/main/java/ch/nuth/zhaw/exbox/ExBoxFrame.java b/app/src/main/java/ch/nuth/zhaw/exbox/ExBoxFrame.java index 3a68517..e69d3cf 100644 --- a/app/src/main/java/ch/nuth/zhaw/exbox/ExBoxFrame.java +++ b/app/src/main/java/ch/nuth/zhaw/exbox/ExBoxFrame.java @@ -154,9 +154,8 @@ public class ExBoxFrame extends JFrame implements ActionListener, ItemListener { ex.printStackTrace(); } - double scaleFaktor = (double)Toolkit.getDefaultToolkit().getScreenResolution() / 96.0; - setFontSize((int) (11 * scaleFaktor)); - setSize(new Dimension((int) (400 * scaleFaktor), (int) (400 * scaleFaktor))); + setFontSize(11); + setSize(new Dimension(400, 400)); setTitle("ExBox"); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); initComponents();