Remove scaling - swing seems to take care of it
This commit is contained in:
parent
4f3fb4c0d9
commit
69e1646e3f
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue