Taskbar API from JavaFX Window?
Will Iverson
wiverson at gmail.com
Mon Nov 2 16:46:29 UTC 2020
What Window should I pass in for the setWindowProgressState window
argument? It requires a java.awt.Window?
On Sun, Nov 1, 2020 at 5:48 PM Scott Palmer <swpalmer at gmail.com> wrote:
> 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