java - How do you add the file icon to the titlebar, and indicate that something is not saved in JavaFX on Mac? -



java - How do you add the file icon to the titlebar, and indicate that something is not saved in JavaFX on Mac? -

how add together file icon titlebar in javafx on mac? this:

and how indicate document hasn't been saved, this:

in swing, this how it, possible in javafx too?

no pre-coded solution in answer. feature request not available out of box javafx 8.

some approaches consider:

see: javafx exclusively customized windows? , undecorator project. potentially utilize undecorator in conjunction resources aquafx accomplish want.

or

another way utilize 2 stages layered on top of each other, top stage beingness transparent , overlaying icon on lower stage - need maintain them in sync location, size, visibility , iconification states. use swing stage , application implements icon , place javafx content within swing stage using jfxpanel.

java osx javafx

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -