Gets size instead of preferred size
This commit is contained in:
@ -103,7 +103,7 @@ public class GUI implements ActionListener {
|
||||
}
|
||||
|
||||
public Dimension getSize() {
|
||||
return frame.getContentPane().getPreferredSize();
|
||||
return frame.getContentPane().getSize();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user