@SuppressWarnings("restriction")
 public static void appleForeground() {
   Application.getApplication().requestForeground(true);
 }
 @SuppressWarnings("restriction")
 public static void doAppleFullscreen(JFrame window) {
   Application.getApplication().requestToggleFullScreen(window);
 }