summaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/swing/JComponent.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/swing/JComponent.java')
-rw-r--r--libjava/classpath/javax/swing/JComponent.java21
1 files changed, 4 insertions, 17 deletions
diff --git a/libjava/classpath/javax/swing/JComponent.java b/libjava/classpath/javax/swing/JComponent.java
index 5ec5079223e..a22a92e3b06 100644
--- a/libjava/classpath/javax/swing/JComponent.java
+++ b/libjava/classpath/javax/swing/JComponent.java
@@ -1022,21 +1022,6 @@ public abstract class JComponent extends Container implements Serializable
}
/**
- * Fires a property change for a primitive character property.
- *
- * @param property the name of the property
- * @param oldValue the old value of the property
- * @param newValue the new value of the property
- */
- public void firePropertyChange(String property, char oldValue,
- char newValue)
- {
- // FIXME - This method is already public in awt Component, but
- // is included here to work around a compilation bug in gcj 4.1.
- super.firePropertyChange(property, oldValue, newValue);
- }
-
- /**
* Get the value of the accessibleContext property for this component.
*
* @return the current value of the property
@@ -1942,7 +1927,8 @@ public abstract class JComponent extends Container implements Serializable
int i = getComponentCount() - 1;
if (paintChild != null && paintChild.isOpaque())
{
- for (; i >= 0 && getComponent(i) != paintChild; i--);
+ for (; i >= 0 && getComponent(i) != paintChild; i--)
+ ;
}
for (; i >= 0; i--)
{
@@ -2203,7 +2189,8 @@ public abstract class JComponent extends Container implements Serializable
{
int count = c.getComponentCount();
int i = 0;
- for (; i < count && c.getComponent(i) != child; i++);
+ for (; i < count && c.getComponent(i) != child; i++)
+ ;
if (jc.isCompletelyObscured(i, paintX, paintY, paintW,
paintH))