diff options
author | (no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-22 21:39:00 +0000 |
---|---|---|
committer | (no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-22 21:39:00 +0000 |
commit | 2e9c0dc38e2692b04281844366dbb367ae1294e1 (patch) | |
tree | e56f44693864144d87710daeab9743d4e76b6037 /libjava/java/awt/Frame.java | |
parent | 780b7d9b87ddf306aa31c750d5eb9d96a9cb69ea (diff) |
This commit was manufactured by cvs2svn to create tagobjc-improvements-candidate-20030922
'objc-improvements-candidate-20030922'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/objc-improvements-candidate-20030922@71666 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/awt/Frame.java')
-rw-r--r-- | libjava/java/awt/Frame.java | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/libjava/java/awt/Frame.java b/libjava/java/awt/Frame.java index 82fed1656ae..b6a34272449 100644 --- a/libjava/java/awt/Frame.java +++ b/libjava/java/awt/Frame.java @@ -237,12 +237,15 @@ Frame(String title) { super(); this.title = title; + // Top-level frames are initially invisible. + visible = false; } public Frame(GraphicsConfiguration gc) { super(gc); + visible = false; } public @@ -250,6 +253,7 @@ Frame(String title, GraphicsConfiguration gc) { super(gc); setTitle(title); + visible = false; } /*************************************************************************/ @@ -434,25 +438,6 @@ addNotify() /*************************************************************************/ /** - * Destroys any resources associated with this frame. This includes - * all components in the frame and all owned toplevel windows. - */ -public void -dispose() -{ - Enumeration e = ownedWindows.elements(); - while(e.hasMoreElements()) - { - Window w = (Window)e.nextElement(); - w.dispose(); - } - - super.dispose(); -} - -/*************************************************************************/ - -/** * Returns a debugging string describing this window. * * @return A debugging string describing this window. @@ -468,8 +453,6 @@ getFrames() { //Frame[] array = new Frames[frames.size()]; //return frames.toArray(array); - - // see finalize() comment String msg = "FIXME: can't be implemented without weak references"; throw new UnsupportedOperationException(msg); } |