How to remove the Java icon at JavaFX application start? -


i'm having trouble start of javafx application. when loading application icon in windows taskbar java icon instead of own icon split second.

@override public final void start(final stage stage) {      maincontroller controller = new maincontroller();     scene scene = new scene(controller.getroot());      stage.settitle("geex");     stage.geticons().addall(             new image(app.class.getresourceasstream("/application/images/icon_16.png")),             new image(app.class.getresourceasstream("/application/images/icon_32.png")),             new image(app.class.getresourceasstream("/application/images/icon_48.png")),             new image(app.class.getresourceasstream("/application/images/icon_64.png")),             new image(app.class.getresourceasstream("/application/images/icon_128.png")),             new image(app.class.getresourceasstream("/application/images/icon_256.png"))     );     stage.setscene(scene);     stage.setminheight(frame_height);     stage.setminwidth(frame_width);     stage.setmaximized(true);     stage.show();  } 


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -