Gets size instead of preferred size

This commit is contained in:
2018-02-18 22:57:39 +01:00
parent 2fac5f403d
commit b1a0d4f2a9
2 changed files with 2 additions and 1 deletions

View File

@ -103,7 +103,7 @@ public class GUI implements ActionListener {
}
public Dimension getSize() {
return frame.getContentPane().getPreferredSize();
return frame.getContentPane().getSize();
}
/**