List of usage examples for javafx.application Platform isSupported
public static boolean isSupported(ConditionalFeature feature)
From source file:net.rptools.tokentool.client.TokenTool.java
@Override public void init() throws Exception { appInstance = this; VERSION = getVersion();//from ww w . j a va2 s . c o m // Lets install/update the overlays if newer version AppSetup.install(VERSION); log = LogManager.getLogger(TokenTool.class); log.info("3D Hardware Available? " + Platform.isSupported(ConditionalFeature.SCENE3D)); // Now lets cache any overlays we find and update preLoader with progress overlayCount = (int) Files.walk(AppConstants.OVERLAY_DIR.toPath()).filter(Files::isRegularFile).count(); overlayTreeItems = cacheOverlays(AppConstants.OVERLAY_DIR, null, THUMB_SIZE); // All Done! notifyPreloader(new Preloader.ProgressNotification(1.0)); }