I added some API docs to the JWindow constructors.

2006-01-19  Roman Kennke  <[EMAIL PROTECTED]>

        * javax/swing/JWindow.java: Added API docs to the constructors.

/Roman
Index: javax/swing/JWindow.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JWindow.java,v
retrieving revision 1.23
diff -u -r1.23 JWindow.java
--- javax/swing/JWindow.java	19 Jan 2006 21:25:22 -0000	1.23
+++ javax/swing/JWindow.java	19 Jan 2006 22:14:24 -0000
@@ -86,30 +86,70 @@
 
   protected AccessibleContext accessibleContext;
 
+  /**
+   * Creates a new <code>JWindow</code> that has a shared invisible owner frame
+   * as its parent.
+   */
   public JWindow()
   {
     super(SwingUtilities.getOwnerFrame(null));
     windowInit();
   }
 
+  /**
+   * Creates a new <code>JWindow</code> that uses the specified graphics
+   * environment. This can be used to open a window on a different screen for
+   * example.
+   *
+   * @param gc the graphics environment to use
+   */
   public JWindow(GraphicsConfiguration gc)
   {
     super(SwingUtilities.getOwnerFrame(null), gc);
     windowInit();
   }
-  
+
+  /**
+   * Creates a new <code>JWindow</code> that has the specified
+   * <code>owner</code> frame. If <code>owner</code> is <code>null</code>, then
+   * an invisible shared owner frame is installed as owner frame.
+   *
+   * @param owner the owner frame of this window; if <code>null</code> a shared
+   *        invisible owner frame is used
+   */
   public JWindow(Frame owner)
   {
     super(SwingUtilities.getOwnerFrame(owner));
     windowInit();
   }
 
+  /**
+   * Creates a new <code>JWindow</code> that has the specified
+   * <code>owner</code> window. If <code>owner</code> is <code>null</code>,
+   * then an invisible shared owner frame is installed as owner frame.
+   *
+   * @param owner the owner window of this window; if <code>null</code> a
+   *        shared invisible owner frame is used
+   */
   public JWindow(Window owner)
   {
     super(owner);
     windowInit();
   }
 
+  /**
+   * Creates a new <code>JWindow</code> for the given graphics configuration
+   * and that has the specified <code>owner</code> window. If
+   * <code>owner</code> is <code>null</code>, then an invisible shared owner
+   * frame is installed as owner frame.
+   *
+   * The <code>gc</code> parameter can be used to open the window on a
+   * different screen for example.
+   *
+   * @param owner the owner window of this window; if <code>null</code> a
+   *        shared invisible owner frame is used
+   * @param gc the graphics configuration to use
+   */
   public JWindow(Window owner, GraphicsConfiguration gc)
   {
     super(owner, gc);
_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to