@@ -258,10 +258,11 @@ /** * Obtains the appropriate <code>Popup</code> based on * <code>popupType</code>. */ + @SuppressWarnings("deprecation") private Popup getPopup(Component owner, Component contents, int ownerX, int ownerY, int popupType) { if (GraphicsEnvironment.isHeadless()) { return getHeadlessPopup(owner, contents, ownerX, ownerY); }