Taskbar API from JavaFX Window?
Scott Palmer
swpalmer at gmail.com
Mon Nov 2 01:48:53 UTC 2020
They work fine. Just remember to use the Swing/AWT event thread to call them.
Scott
> On Nov 1, 2020, at 8:39 PM, Will Iverson <wiverson at gmail.com> wrote:
>
> Looking at native desktop integration with JavaFX. As I was exploring, I
> noticed that the java.awt.Taskbar API does not appear to be available for
> JavaFX Windows.
>
> https://docs.oracle.com/javase/10/docs/api/java/awt/Taskbar.html#setWindowProgressState(java.awt.Window,java.awt.Taskbar.State)
>
> Many of the other methods on this class (e.g. setting progress, custom
> icons) work fine on macOS from my testing so far.
>
> Is there any way to use the AWT methods from a JavaFX app?
>
> Cheers,
> -Will
More information about the openjfx-dev
mailing list