--- a/jdk/src/share/classes/javax/swing/Popup.java Tue Dec 13 17:30:21 2011 +0400
+++ b/jdk/src/share/classes/javax/swing/Popup.java Tue Dec 13 18:38:39 2011 +0400
@@ -98,6 +98,8 @@
* Makes the <code>Popup</code> visible. If the <code>Popup</code> is
* currently visible, this has no effect.
*/
+
+ @SuppressWarnings("deprecation")
public void show() {
Component component = getComponent();
@@ -114,6 +116,8 @@
* on a <code>disposed</code> <code>Popup</code>, indeterminate
* behavior will result.
*/
+
+ @SuppressWarnings("deprecation")
public void hide() {
Component component = getComponent();