aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/Component.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/awt/Component.java')
-rw-r--r--libjava/java/awt/Component.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/java/awt/Component.java b/libjava/java/awt/Component.java
index 0b1e961..3d2afc9 100644
--- a/libjava/java/awt/Component.java
+++ b/libjava/java/awt/Component.java
@@ -879,6 +879,7 @@ public abstract class Component
this.visible = true;
if (peer != null)
peer.setVisible(true);
+ invalidate();
}
/**
@@ -905,6 +906,7 @@ public abstract class Component
if (peer != null)
peer.setVisible(false);
this.visible = false;
+ invalidate();
}
/**