diff --git a/src/share/classes/javax/swing/AbstractButton.java b/src/share/classes/javax/swing/AbstractButton.java
index 5157b16ee71896aa07950d1060933e3f7d0ff175..6f75be948e9f272d86f41c5d987d527a65237ac2 100644
--- a/src/share/classes/javax/swing/AbstractButton.java
+++ b/src/share/classes/javax/swing/AbstractButton.java
@@ -1381,7 +1381,7 @@ public abstract class AbstractButton extends JComponent implements ItemSelectabl
* If true and the button has a border,
* the border is painted. The default value for the
* borderPainted property is true.
- *
* Some look and feels might not support
* the borderPainted property,
* in which case they ignore this.
@@ -1476,7 +1476,7 @@ public abstract class AbstractButton extends JComponent implements ItemSelectabl
* This function may cause the component's opaque property to change.
*
* The exact behavior of calling this function varies on a
- * component-by-component and L&F-by-L&F basis.
+ * component-by-component and L&F-by-L&F basis.
*
* @param b if true, the content should be filled; if false
* the content area is not filled
@@ -1702,7 +1702,7 @@ public abstract class AbstractButton extends JComponent implements ItemSelectabl
* @see #getMultiClickThreshhold
* @param threshhold the amount of time required between mouse
* press events to generate corresponding action events
- * @exception IllegalArgumentException if threshhold < 0
+ * @exception IllegalArgumentException if threshhold < 0
* @since 1.4
*/
public void setMultiClickThreshhold(long threshhold) {
@@ -1787,7 +1787,7 @@ public abstract class AbstractButton extends JComponent implements ItemSelectabl
/**
- * Returns the L&F object that renders this component.
+ * Returns the L&F object that renders this component.
* @return the ButtonUI object
* @see #setUI
*/
@@ -1797,8 +1797,8 @@ public abstract class AbstractButton extends JComponent implements ItemSelectabl
/**
- * Sets the L&F object that renders this component.
- * @param ui the ButtonUI L&F object
+ * Sets the L&F object that renders this component.
+ * @param ui the ButtonUI L&F object
* @see #getUI
* @beaninfo
* bound: true
@@ -2722,7 +2722,7 @@ public abstract class AbstractButton extends JComponent implements ItemSelectabl
*
* @param part the AccessibleText.CHARACTER, AccessibleText.WORD,
* or AccessibleText.SENTENCE to retrieve
- * @param index an index within the text >= 0
+ * @param index an index within the text >= 0
* @return the letter, word, or sentence,
* null for an invalid index or part
* @since 1.3
@@ -2769,7 +2769,7 @@ public abstract class AbstractButton extends JComponent implements ItemSelectabl
*
* @param part the AccessibleText.CHARACTER, AccessibleText.WORD,
* or AccessibleText.SENTENCE to retrieve
- * @param index an index within the text >= 0
+ * @param index an index within the text >= 0
* @return the letter, word, or sentence, null for an invalid
* index or part
* @since 1.3
@@ -2833,7 +2833,7 @@ public abstract class AbstractButton extends JComponent implements ItemSelectabl
*
* @param part the AccessibleText.CHARACTER, AccessibleText.WORD,
* or AccessibleText.SENTENCE to retrieve
- * @param index an index within the text >= 0
+ * @param index an index within the text >= 0
* @return the letter, word, or sentence, null for an invalid index
* or part
* @since 1.3
diff --git a/src/share/classes/javax/swing/Action.java b/src/share/classes/javax/swing/Action.java
index 307f40a74db2e87b0f5abc8c22c5da2c5fad76a6..7223d8196816692b4b98ff64e2213cc8b39cdece 100644
--- a/src/share/classes/javax/swing/Action.java
+++ b/src/share/classes/javax/swing/Action.java
@@ -69,7 +69,7 @@ import java.beans.*;
* are desired, and use simple ActionListeners elsewhere.
*
* - *
ActionAction
* Many of Swing's components have an Action property. When
* an Action is set on a component, the following things
@@ -95,8 +95,7 @@ import java.beans.*;
* button's corresponding property being set to null.
*
*
| Component Property * | Components
diff --git a/src/share/classes/javax/swing/Box.java b/src/share/classes/javax/swing/Box.java
index 2f4c6e4c76f1726cf5f65ca1ad47f74387c93153..1a3ace741292e229d2164071b1fff271d9e25917 100644
--- a/src/share/classes/javax/swing/Box.java
+++ b/src/share/classes/javax/swing/Box.java
@@ -155,7 +155,7 @@ public class Box extends JComponent implements Accessible {
* in which case it takes its share of available space,
* just like any other component that has no maximum height.
*
- * @param width the width of the invisible component, in pixels >= 0
+ * @param width the width of the invisible component, in pixels >= 0
* @return the component
* @see #createVerticalStrut
* @see #createGlue
@@ -179,7 +179,7 @@ public class Box extends JComponent implements Accessible {
* in which case it takes its share of available space,
* just like any other component that has no maximum width.
*
- * @param height the height of the invisible component, in pixels >= 0
+ * @param height the height of the invisible component, in pixels >= 0
* @return the component
* @see #createHorizontalStrut
* @see #createGlue
diff --git a/src/share/classes/javax/swing/BoxLayout.java b/src/share/classes/javax/swing/BoxLayout.java
index f510553063e1f02fe5e1a5d14cad5d33daadbaee..09968fb0b358b129ba4071fef30f0dc0a941c8c4 100644
--- a/src/share/classes/javax/swing/BoxLayout.java
+++ b/src/share/classes/javax/swing/BoxLayout.java
@@ -287,7 +287,7 @@ public class BoxLayout implements LayoutManager2, Serializable {
* in the specified target container.
*
* @param target the container that needs to be laid out
- * @return the dimensions >= 0 && <= Integer.MAX_VALUE
+ * @return the dimensions >= 0 && <= Integer.MAX_VALUE
* @exception AWTError if the target isn't the container specified to the
* BoxLayout constructor
* @see Container
@@ -313,7 +313,7 @@ public class BoxLayout implements LayoutManager2, Serializable {
* contained in the specified target container.
*
* @param target the container that needs to be laid out
- * @return the dimensions >= 0 && <= Integer.MAX_VALUE
+ * @return the dimensions >= 0 && <= Integer.MAX_VALUE
* @exception AWTError if the target isn't the container specified to the
* BoxLayout constructor
* @see #preferredLayoutSize
@@ -338,7 +338,7 @@ public class BoxLayout implements LayoutManager2, Serializable {
* to lay out the components it contains.
*
* @param target the container that needs to be laid out
- * @return the dimensions >= 0 && <= Integer.MAX_VALUE
+ * @return the dimensions >= 0 && <= Integer.MAX_VALUE
* @exception AWTError if the target isn't the container specified to the
* BoxLayout constructor
* @see #preferredLayoutSize
@@ -365,7 +365,7 @@ public class BoxLayout implements LayoutManager2, Serializable {
* to place the children along the X axis will be returned.
*
* @param target the container
- * @return the alignment >= 0.0f && <= 1.0f
+ * @return the alignment >= 0.0f && <= 1.0f
* @exception AWTError if the target isn't the container specified to the
* BoxLayout constructor
*/
@@ -382,7 +382,7 @@ public class BoxLayout implements LayoutManager2, Serializable {
* to place the children along the Y axis will be returned.
*
* @param target the container
- * @return the alignment >= 0.0f && <= 1.0f
+ * @return the alignment >= 0.0f && <= 1.0f
* @exception AWTError if the target isn't the container specified to the
* BoxLayout constructor
*/
diff --git a/src/share/classes/javax/swing/CellRendererPane.java b/src/share/classes/javax/swing/CellRendererPane.java
index 6a9f17b058adf731a800406973193bf12cb76a28..3e43b80d9ea8dbb6e85e9a159f973f8a7c5ee34e 100644
--- a/src/share/classes/javax/swing/CellRendererPane.java
+++ b/src/share/classes/javax/swing/CellRendererPane.java
@@ -96,7 +96,7 @@ public class CellRendererPane extends Container implements Accessible
/**
* If the specified component is already a child of this then we don't
* bother doing anything - stacking order doesn't matter for cell
- * renderer components (CellRendererPane doesn't paint anyway).<
+ * renderer components (CellRendererPane doesn't paint anyway).
*/
protected void addImpl(Component x, Object constraints, int index) {
if (x.getParent() == this) {
diff --git a/src/share/classes/javax/swing/DefaultListSelectionModel.java b/src/share/classes/javax/swing/DefaultListSelectionModel.java
index 26f06c63a2ca6d2552b27c42dce7715e42023fc6..388a5a59a810461af7336a9399a41482c8bbf398 100644
--- a/src/share/classes/javax/swing/DefaultListSelectionModel.java
+++ b/src/share/classes/javax/swing/DefaultListSelectionModel.java
@@ -637,7 +637,7 @@ public class DefaultListSelectionModel implements ListSelectionModel, Cloneable,
* Remove the indices in the interval index0,index1 (inclusive) from
* the selection model. This is typically called to sync the selection
* model width a corresponding change in the data model. Note
- * that (as always) index0 need not be <= index1.
+ * that (as always) index0 need not be <= index1.
*/
public void removeIndexInterval(int index0, int index1)
{
diff --git a/src/share/classes/javax/swing/DesktopManager.java b/src/share/classes/javax/swing/DesktopManager.java
index 2f141e493509aa856019ddc55276fc22e779d616..e0a2a434a4563e42d3b4e907a7d4a46be34b71d2 100644
--- a/src/share/classes/javax/swing/DesktopManager.java
+++ b/src/share/classes/javax/swing/DesktopManager.java
@@ -26,13 +26,13 @@
package javax.swing;
/** DesktopManager objects are owned by a JDesktopPane object. They are responsible
- * for implementing L&F specific behaviors for the JDesktopPane. JInternalFrame
+ * for implementing L&F specific behaviors for the JDesktopPane. JInternalFrame
* implementations should delegate specific behaviors to the DesktopManager. For
* instance, if a JInternalFrame was asked to iconify, it should try:
* * getDesktopPane().getDesktopManager().iconifyFrame(frame); *- * This delegation allows each L&F to provide custom behaviors for desktop-specific + * This delegation allows each L&F to provide custom behaviors for desktop-specific * actions. (For example, how and where the internal frame's icon would appear.) * This class provides a policy for the various JInternalFrame methods, it is not * meant to be called directly rather the various JInternalFrame methods will call diff --git a/src/share/classes/javax/swing/GroupLayout.java b/src/share/classes/javax/swing/GroupLayout.java index 9b0d4df485bb0bdb3c8c1e3b06cedf843d92d358..e3be1ddfdd5f8d1100fa878a43a990cd392de24d 100644 --- a/src/share/classes/javax/swing/GroupLayout.java +++ b/src/share/classes/javax/swing/GroupLayout.java @@ -80,7 +80,7 @@ import static javax.swing.SwingConstants.VERTICAL; * axis. The sequential group contains three components. A parallel group * was used along the vertical axis. *
- * * To reinforce that each axis is treated independently the diagram shows * the range of each group and element along each axis. The @@ -102,7 +102,7 @@ import static javax.swing.SwingConstants.VERTICAL; * the vertical axis. * *
- * * As {@code c1} is the largest of the three components, the parallel * group is sized to {@code c1}. As {@code c2} and {@code c3} are smaller @@ -116,7 +116,7 @@ import static javax.swing.SwingConstants.VERTICAL; * The following diagram shows a sequential group along both the horizontal * and vertical axis. *
- * * {@code GroupLayout} provides the ability to insert gaps between * {@code Component}s. The size of the gap is determined by an @@ -173,7 +173,7 @@ import static javax.swing.SwingConstants.VERTICAL; * * When run the following is produced. *
- * * This layout consists of the following. *
|
|---|