aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/swing/JButton.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/swing/JButton.java')
-rw-r--r--libjava/classpath/javax/swing/JButton.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/libjava/classpath/javax/swing/JButton.java b/libjava/classpath/javax/swing/JButton.java
index 705a863..40c1041 100644
--- a/libjava/classpath/javax/swing/JButton.java
+++ b/libjava/classpath/javax/swing/JButton.java
@@ -91,9 +91,9 @@ public class JButton extends AbstractButton
/**
* Creates a new button from the specified action.
- *
+ *
* @param a the action (<code>null</code> permitted).
- *
+ *
* @see AbstractButton#setAction(Action)
*/
public JButton(Action a)
@@ -105,7 +105,7 @@ public class JButton extends AbstractButton
/**
* Creates a new button with the specified icon (and an empty string for
* the button text).
- *
+ *
* @param icon the icon (<code>null</code> permitted).
*/
public JButton(Icon icon)
@@ -115,7 +115,7 @@ public class JButton extends AbstractButton
/**
* Creates a new button with the specified text and no icon.
- *
+ *
* @param text the button text (<code>null</code> permitted, will be
* substituted by an empty string).
*/
@@ -126,7 +126,7 @@ public class JButton extends AbstractButton
/**
* Creates a new button with the specified text and icon.
- *
+ *
* @param text the button text (<code>null</code> permitted, will be
* substituted by an empty string).
* @param icon the icon (<code>null</code> permitted).
@@ -140,7 +140,7 @@ public class JButton extends AbstractButton
}
protected void configurePropertiesFromAction(Action a)
- {
+ {
super.configurePropertiesFromAction(a);
}
@@ -158,8 +158,8 @@ public class JButton extends AbstractButton
}
/**
- * Returns the suffix (<code>"ButtonUI"</code> in this case) used to
- * determine the class name for a UI delegate that can provide the look and
+ * Returns the suffix (<code>"ButtonUI"</code> in this case) used to
+ * determine the class name for a UI delegate that can provide the look and
* feel for a <code>JButton</code>.
*
* @return <code>"ButtonUI"</code>.
@@ -167,7 +167,7 @@ public class JButton extends AbstractButton
public String getUIClassID()
{
// Returns a string that specifies the name of the L&F class that renders
- // this component.
+ // this component.
return "ButtonUI";
}
@@ -211,7 +211,7 @@ public class JButton extends AbstractButton
public boolean isDefaultCapable()
{
// Returns whether or not this button is capable of being the default
- // button on the RootPane.
+ // button on the RootPane.
return defaultCapable;
}