diff options
-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()); |