From c623c34c4e4b667a2c1bd7351e7b416f815f52ff Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 14 Sep 2009 16:03:53 -0700 Subject: NEWT AWT: Use size/pos from external frame --- src/newt/classes/com/sun/javafx/newt/awt/AWTWindow.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/newt/classes/com/sun') 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()); -- cgit v1.2.3