Occam's razor.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2113 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray
2007-06-13 17:05:48 +00:00
parent b822e51753
commit 138ce05fe8
@@ -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();