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 <swpal...@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 <wiver...@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 >