aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/Window.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/awt/Window.java')
-rw-r--r--libjava/java/awt/Window.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/libjava/java/awt/Window.java b/libjava/java/awt/Window.java
index 7397a1c..d084bb4 100644
--- a/libjava/java/awt/Window.java
+++ b/libjava/java/awt/Window.java
@@ -1,5 +1,5 @@
/* Window.java --
- Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation
+ Copyright (C) 1999, 2000, 2002, 2003, 2004 Free Software Foundation
This file is part of GNU Classpath.
@@ -48,11 +48,12 @@ import java.awt.event.WindowStateListener;
import java.awt.peer.WindowPeer;
import java.lang.ref.Reference;
import java.lang.ref.WeakReference;
-import java.util.Iterator;
import java.util.EventListener;
+import java.util.Iterator;
import java.util.Locale;
import java.util.ResourceBundle;
import java.util.Vector;
+
import javax.accessibility.Accessible;
import javax.accessibility.AccessibleContext;
@@ -141,7 +142,7 @@ public class Window extends Container implements Accessible
* Initializes a new instance of <code>Window</code> with the specified
* parent. The window will initially be invisible.
*
- * @param parent The owning <code>Frame</code> of this window.
+ * @param owner The owning <code>Frame</code> of this window.
*
* @exception IllegalArgumentException If the owner's GraphicsConfiguration
* is not from a screen device, or if owner is null; this exception is always
@@ -291,7 +292,7 @@ public class Window extends Container implements Accessible
initialFocusOwner = policy.getInitialComponent (this);
if (initialFocusOwner != null)
- initialFocusOwner.requestFocusInWindow (false);
+ initialFocusOwner.requestFocusInWindow ();
shown = true;
}
@@ -604,7 +605,7 @@ public class Window extends Container implements Accessible
* <code>processWindowEvent()</code> is called to process the event,
* otherwise the superclass version of this method is invoked.
*
- * @param event The event to process.
+ * @param evt The event to process.
*/
protected void processEvent(AWTEvent evt)
{
@@ -620,7 +621,7 @@ public class Window extends Container implements Accessible
* invoked if it is enabled via <code>enableEvents()</code> or if
* a listener has been added.
*
- * @param event The event to process.
+ * @param evt The event to process.
*/
protected void processWindowEvent(WindowEvent evt)
{
@@ -710,7 +711,7 @@ public class Window extends Container implements Accessible
/**
* Post a Java 1.0 event to the event queue.
*
- * @param event The event to post.
+ * @param e The event to post.
*
* @deprecated
*/