Index: javax/swing/JLayeredPane.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/JLayeredPane.java,v retrieving revision 1.10 diff -u -r1.10 JLayeredPane.java --- javax/swing/JLayeredPane.java 11 Jan 2004 13:00:52 -0000 1.10 +++ javax/swing/JLayeredPane.java 18 Apr 2004 13:52:14 -0000 @@ -82,16 +82,15 @@ *
An offset into a layer's "logical drawing order". Layer position 0 * is drawn last. Layer position -1 is a synonym for the first layer * position (the logical "bottom").
+ * * *

Note: the layer numbering order is the reverse of the * component indexing and position order

* * @author Graydon Hoare */ - public class JLayeredPane extends JComponent implements Accessible { - public static String LAYER_PROPERTY = "LAYER_PROPERTY"; public static Integer FRAME_CONTENT_LAYER = new Integer (-30000); Index: javax/swing/plaf/BorderUIResource.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/BorderUIResource.java,v retrieving revision 1.18 diff -u -r1.18 BorderUIResource.java --- javax/swing/plaf/BorderUIResource.java 28 Jul 2003 10:40:34 -0000 1.18 +++ javax/swing/plaf/BorderUIResource.java 18 Apr 2004 13:52:14 -0000 @@ -279,7 +279,7 @@ * *

[An illustration showing raised and lowered BevelBorders] + * alt="[An illustration showing raised and lowered BevelBorders]" />

* * @param bevelType the desired appearance of the border. The value * must be either address@hidden javax.swing.border.BevelBorder#RAISED} @@ -300,7 +300,7 @@ * *

[An illustration showing BevelBorders that were
-     * constructed with this method] + * constructed with this method]" />

* * @param bevelType the desired appearance of the border. The value * must be either address@hidden javax.swing.border.BevelBorder#RAISED} @@ -340,7 +340,7 @@ * *

[An illustration showing BevelBorders that
-     * were constructed with this method] + * were constructed with this method]" />

* * @param bevelType the desired appearance of the border. The value * must be either address@hidden javax.swing.border.BevelBorder#RAISED} @@ -432,7 +432,7 @@ * *

[An illustration of EmptyBorder] + * alt="[An illustration of EmptyBorder]" />

* * @author Brian Jones (address@hidden) * @author Sascha Brawer (address@hidden) @@ -487,7 +487,7 @@ * *

[An illustration of the two EtchedBorder
-   * variants] + * variants]" />

* * @author Brian Jones (address@hidden) * @author Sascha Brawer (address@hidden) @@ -514,7 +514,7 @@ * *

[An illustration of the two
-     * EtchedBorder variants] + * EtchedBorder variants]" />

* * @param etchType the desired appearance of the border. The value * must be either address@hidden javax.swing.border.EtchedBorder#RAISED} @@ -555,7 +555,7 @@ * *

[An illustration that shows which pixels get
-     * painted in what color] + * painted in what color]" />

* * @param etchType the desired appearance of the border. The value * must be either address@hidden javax.swing.border.EtchedBorder#RAISED} @@ -588,7 +588,7 @@ * such as the borders provided by this class. * *

[An illustration of two LineBorders] />
+   * height=

* * @author Brian Jones (address@hidden) * @author Sascha Brawer (address@hidden) @@ -643,7 +643,7 @@ * such as the borders provided by this class. * *

[An illustration of two MatteBorders] />
+   * height=

* * @author Brian Jones (address@hidden) * @author Sascha Brawer (address@hidden) @@ -658,7 +658,7 @@ * *

[A picture of a MatteBorder made by this
-     * constructor] + * constructor]" />

* * @param top the width of the border at its top edge. * @param left the width of the border at its left edge. @@ -680,7 +680,7 @@ * *

[A picture of a MatteBorder made by this
-     * constructor] + * constructor]" />

* * @param top the width of the border at its top edge. * @param left the width of the border at its left edge. @@ -704,7 +704,7 @@ * *

[A picture of a MatteBorder made by this
-     * constructor] + * constructor]" />

* * @param tileIcon an icon for tiling the border area. */ Index: javax/swing/plaf/ComponentUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/ComponentUI.java,v retrieving revision 1.7 diff -u -r1.7 ComponentUI.java --- javax/swing/plaf/ComponentUI.java 28 Jul 2003 10:40:34 -0000 1.7 +++ javax/swing/plaf/ComponentUI.java 18 Apr 2004 13:52:15 -0000 @@ -52,7 +52,7 @@ * *

[UML diagram illustrating the architecture for pluggable
- * look and feels] + * look and feels]" />

* *

Components such as address@hidden javax.swing.JSlider} do not directly * implement operations related to the look and feel of the user @@ -68,14 +68,14 @@ * services. Soon before the end of its lifecycle, the * ComponentUI will receive an address@hidden #uninstallUI} * message, at which time the ComponentUI is expected to - * undo any changes. + * undo any changes.

* *

Note that the ui of a JComponent * changes whenever the user switches between look and feels. For * example, the ui property of a JSlider * could change from an instance of MetalSliderUI to an * instance of FooSliderUI. This switch can happen at any - * time, but it will always be performed from inside the Swing thread. + * time, but it will always be performed from inside the Swing thread.

* * @author Sascha Brawer (address@hidden) */ @@ -96,26 +96,24 @@ * The delegate object then receives an installUI * message. * - *

This method should perform the following tasks: - * - *

* * @param c the component for which this delegate will provide * services. Index: javax/swing/undo/CompoundEdit.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/undo/CompoundEdit.java,v retrieving revision 1.5 diff -u -r1.5 CompoundEdit.java --- javax/swing/undo/CompoundEdit.java 9 Jan 2004 10:30:16 -0000 1.5 +++ javax/swing/undo/CompoundEdit.java 18 Apr 2004 13:52:15 -0000 @@ -45,17 +45,18 @@ * UndoableEdits. * *

The use of a CompoundEdit is divided in two separate - * phases. - * - *

  1. In the first phase, the CompoundEdit is - * initialized. After a new instance of CompoundEdit has - * been created, address@hidden #addEdit(UndoableEdit)} is called for each - * element of the compound. To terminate the initialization phase, - * call address@hidden #end()}.
  2. + * phases.

    * + *
      + *
    1. In the first phase, the CompoundEdit is + * initialized. After a new instance of CompoundEdit has + * been created, address@hidden #addEdit(UndoableEdit)} is called for each + * element of the compound. To terminate the initialization phase, + * call address@hidden #end()}.
    2. *
    3. In the second phase, the the CompoundEdit can be - * used, typically by invoking address@hidden #undo()} and address@hidden - * #redo()}.
    + * used, typically by invoking address@hidden #undo()} and + * address@hidden #redo()}. + *
* * @author Andrew Selkirk (address@hidden) * @author Sascha Brawer (address@hidden) Index: javax/swing/undo/StateEdit.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/undo/StateEdit.java,v retrieving revision 1.6 diff -u -r1.6 StateEdit.java --- javax/swing/undo/StateEdit.java 17 Nov 2003 16:21:05 -0000 1.6 +++ javax/swing/undo/StateEdit.java 18 Apr 2004 13:52:15 -0000 @@ -44,52 +44,54 @@ /** * A helper class, making it easy to support undo and redo. * - *

The following example shows how to use this class. + *

The following example shows how to use this class.

* - *
  Foo foo; // class Foo implements address@hidden StateEditable}
- *  StateEdit edit;
- *
- *  edit = new StateEdit(foo, "Name Change");
- *  foo.setName("Jane Doe");
- *  edit.end();
- *  undoManager.addEdit(edit);
+ *
+ * Foo foo; // class Foo implements address@hidden StateEditable}
+ * StateEdit edit;
+ *
+ * edit = new StateEdit(foo, "Name Change");
+ * foo.setName("Jane Doe");
+ * edit.end();
+ * undoManager.addEdit(edit);
+ * 
* *

If Foo’s implementation of address@hidden * StateEditable} considers the name as part of the editable state, * the user can now choose “Undo Name Change” or * “Redo Name Change” from the respective menu. No - * further undo support is needed from the application. - * - *

The following explains what happens in the example. + * further undo support is needed from the application.

* - *

  1. When a StateEdit is created, the associated - * address@hidden StateEditable} gets asked to store its state into a hash - * table, address@hidden #preState}.
  2. + *

    The following explains what happens in the example.

    * + *
      + *
    1. When a StateEdit is created, the associated + * address@hidden StateEditable} gets asked to store its state into a hash + * table, address@hidden #preState}.
    2. *
    3. The application will now perform some changes to the edited - * object. This typically happens by invoking methods on the edited - * object.
    4. - * + * object. This typically happens by invoking methods on the edited + * object. *
    5. The editing phase is terminated by invoking the address@hidden #end()} - * method of the StateEdit. The end() method - * does two things. - * - *
      • The edited object receives a second request for storing - * its state. This time, it will use a different hash table, address@hidden - * #postState}.
      • - * - *
      • To increase efficiency, the StateEdit now removes - * any entries from address@hidden #preState} and address@hidden #postState} that have - * the same key, and whose values are equal. Equality is determined - * by invoking the equals method inherited from - * address@hidden java.lang.Object}.
    6. + * method of the StateEdit. The end() method + * does two things. * + *
        + *
      • The edited object receives a second request for storing + * its state. This time, it will use a different hash table, address@hidden + * #postState}.
      • + *
      • To increase efficiency, the StateEdit now removes + * any entries from address@hidden #preState} and address@hidden #postState} that have + * the same key, and whose values are equal. Equality is determined + * by invoking the equals method inherited from + * address@hidden java.lang.Object}.
      • + *
      *
    7. When the user later chooses to undo the StateEdit, * the edited object is asked to address@hidden StateEditable#restoreState * restore its state} from the address@hidden #preState} table. Similarly, * when the user chooses to redo the StateEdit, * the edited object gets asked to restore its state from the address@hidden - * #postState}.
    + * #postState}. + *
* * @author Andrew Selkirk (address@hidden) * @author Sascha Brawer (address@hidden)