diff --git a/src/share/classes/javax/swing/JComponent.java b/src/share/classes/javax/swing/JComponent.java index 83f88bfbfdcfb1b51c767ecfa29d63303bc49e6c..dbf4b3c3343a5e6164d88e93d3c963db2b9a2bed 100644 --- a/src/share/classes/javax/swing/JComponent.java +++ b/src/share/classes/javax/swing/JComponent.java @@ -5573,6 +5573,7 @@ public abstract class JComponent extends Container implements Serializable, * {@inheritDoc} */ @Override + @Deprecated public void hide() { boolean showing = isShowing(); super.hide();