< prev index next >

src/java.desktop/share/classes/javax/swing/JRootPane.java

Print this page
rev 14722 : imported patch 8153362

@@ -327,22 +327,22 @@
      * the key bindings specification for further details.
      *
      * @deprecated As of Java 2 platform v1.3.
      *  @see #defaultButton
      */
-    @Deprecated
+    @Deprecated @SuppressWarnings("unexportedinapi")
     protected DefaultAction defaultPressAction;
     /**
      * As of Java 2 platform v1.3 this unusable field is no longer used.
      * To override the default button you should replace the <code>Action</code>
      * in the <code>JRootPane</code>'s <code>ActionMap</code>. Please refer to
      * the key bindings specification for further details.
      *
      * @deprecated As of Java 2 platform v1.3.
      *  @see #defaultButton
      */
-    @Deprecated
+    @Deprecated @SuppressWarnings("unexportedinapi")
     protected DefaultAction defaultReleaseAction;
 
     /**
      * Whether or not true double buffering should be used.  This is typically
      * true, but may be set to false in special situations.  For example,
< prev index next >