From d44d0799904d814dee2079869e3be7a643b9334c Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 25 Jul 2003 12:50:44 +0000 Subject: 2003-07-25 Mark Wielaard * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java added. * Makefile.in: Likewise. 2003-07-25 Jeroen Frijters * java/awt/Component.java (getPreferredSize): Call preferredSize. (preferredSize): Moved body of getPreferredSize here. (getMinimumSize): Call minimumSize. (minimumSize): Moved body of getMinimumSize here. (prepareImage): Fall back on Toolkit.prepareImage if there is no peer (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but pass -1 * java/awt/Container.java (validate): Don't validate if there is no peer. (update): Clear background before calling paint. * java/awt/GridBagLayout.java Completed the implementation and fixed several bugs. * java/awt/MediaTracker.java (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to combine flags. * java/awt/Window.java (Window): Don't call setVisible(false). Windows are invisible by default and calling virtual methods from constructor causes compatibility problems (e.g. subclasses may assume that the peer already exists). 2003-07-25 Michael Koch * java/awt/GridBagLayout.java: Totally reworked and partly implemented. * java/awt/GridBagLayoutInfo.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69785 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/java/awt/Window.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libjava/java/awt/Window.java') diff --git a/libjava/java/awt/Window.java b/libjava/java/awt/Window.java index 1491ec6c650..ebaa0d1f02f 100644 --- a/libjava/java/awt/Window.java +++ b/libjava/java/awt/Window.java @@ -84,7 +84,6 @@ public class Window extends Container implements Accessible */ Window() { - setVisible(false); setLayout(new BorderLayout()); } @@ -106,7 +105,7 @@ public class Window extends Container implements Accessible peer = ((EmbeddedWindowSupport) getToolkit()) .createEmbeddedWindow (window_id, width, height); } - + /** * Initializes a new instance of Window with the specified * parent. The window will initially be invisible. -- cgit v1.2.3