Occam's razor.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2113 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -84,7 +84,7 @@ public class SwingUtil
|
||||
} catch (Throwable t) {
|
||||
Toolkit tk = window.getToolkit();
|
||||
Dimension ss = tk.getScreenSize();
|
||||
bounds = new Rectangle(0, 0, ss.width, ss.height);
|
||||
bounds = new Rectangle(ss);
|
||||
}
|
||||
|
||||
int width = window.getWidth(), height = window.getHeight();
|
||||
|
||||
Reference in New Issue
Block a user