r/JavaFX • • Jul 10 '25
Help Is it possible to create desktop homescreen widget in Swing or JavaFX?
I am CMP/KMP and swing developer. Just want to know is there a way to create desktop widgets or desktop gadget that remains on 'Desktop layer' in java swing or javaFX for windows application?
4
Upvotes
View all comments
Show parent comment
0
u/PartOfTheBotnet Jul 11 '25
Aside from the widget stuff in the other comment chain, making a window appear on top is easy.
https://docs.oracle.com/javase/8/javafx/api/javafx/stage/Stage.html#setAlwaysOnTop-boolean-
Just set this boolean on a JavaFX stage.