diff options
author | Sven Gothel <[email protected]> | 2009-09-14 16:03:53 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-09-14 16:03:53 -0700 |
commit | c623c34c4e4b667a2c1bd7351e7b416f815f52ff (patch) | |
tree | 39232821113a9e09eccad7c81567d45e56c1b8ce /src/newt/classes/com/sun | |
parent | d856ab6dd22f4fcabdc0df9936ce68cd1f68ac55 (diff) |
NEWT AWT: Use size/pos from external frame
Diffstat (limited to 'src/newt/classes/com/sun')
-rw-r--r-- | src/newt/classes/com/sun/javafx/newt/awt/AWTWindow.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newt/classes/com/sun/javafx/newt/awt/AWTWindow.java b/src/newt/classes/com/sun/javafx/newt/awt/AWTWindow.java index 953a3e57f..9725cf08b 100644 --- a/src/newt/classes/com/sun/javafx/newt/awt/AWTWindow.java +++ b/src/newt/classes/com/sun/javafx/newt/awt/AWTWindow.java @@ -109,6 +109,10 @@ public class AWTWindow extends Window { owningFrame=true; } else { owningFrame=false; + width = container.getWidth(); + height = container.getHeight(); + x = container.getX(); + y = container.getY(); } if(null!=frame) { frame.setTitle(getTitle()); |