Package will not be available at compile time in Java 9. Use java.awt.Desktop instead. See JEP 272 'Platform-Specific Desktop Features': http://openjdk.java.net/jeps/272
public void handleQuit(ApplicationEvent event) { LOG.info("Got the boot..."); super.handleQuit(event); System.exit(0); }
public void handleQuit(ApplicationEvent event) { LOG.info("Got the boot..."); super.handleQuit(event); System.exit(0); } }