How to make JavaFX app always on top of other applications?

javafx

Solution

As of Java 8u20-ea-b15, and Java 8u6, you can do `stage.setAlwaysOnTop(true);`

At the time of writing, neither of these are production releases. However, if you are creating a self-contained application, there's nothing to stop you using the ea release and bundling that JVM until these are fully released. (Java 8u6 is probably only a matter of days away.)

Problem

I made a JavaFX application that is launched as a Mac App. I want it to be launched so that the window is always on top of other applications. How can I do this?

Original source

Related problems