--- a/jdk/src/java.desktop/share/classes/javax/swing/PopupFactory.java Fri Nov 04 15:31:38 2016 -0700
+++ b/jdk/src/java.desktop/share/classes/javax/swing/PopupFactory.java Fri Nov 04 15:59:59 2016 -0700
@@ -614,6 +614,7 @@
* Returns true if popup can fit the screen and the owner's top parent.
* It determines can popup be lightweight or mediumweight.
*/
+ @SuppressWarnings("deprecation")
boolean fitsOnScreen() {
boolean result = false;
Component component = getComponent();
@@ -783,6 +784,8 @@
component.removeAll();
recycleLightWeightPopup(this);
}
+
+ @SuppressWarnings("deprecation")
public void show() {
Container parent = null;
@@ -938,6 +941,8 @@
rootPane.getContentPane().removeAll();
recycleMediumWeightPopup(this);
}
+
+ @SuppressWarnings("deprecation")
public void show() {
Component component = getComponent();
Container parent = null;