How can I remove only the ‘minimise’ button from stage components and how can I customize them in JavaFX?
I am using Netbeans 7.1.2 and created a simple JavaFX app. I have the object of stage named primaryStage. How can I achieve it?
How can I remove only the ‘minimise’ button from stage components and how can
Share
Unfortunately JavaFX 2.2 doesn’t yet provide API to manipulate system window buttons.
Although you can achieve that by removing system controls with
and providing your own ones to maximize, close, etc.
You can find an example in standard sample named Ensemble which follows described approach:
http://www.oracle.com/technetwork/java/javafx/samples/index.html