java.swt.Desktop equivalent?
John Smith
send2jsmith at gmail.com
Fri Dec 28 21:42:40 PST 2012
It's rather an old request, probably needs some TLC.
http://javafx-jira.kenai.com/browse/RT-210 "Add java.awt.Desktop support to javafx"
On Dec 28, 2012, at 5:48 PM, Scott Palmer <swpalmer at gmail.com> wrote:
> I'm using java.awt.Desktop.getDesktop().open(File) in my application. Is there an equivalent in JavaFX? I've found HostServices, but that implies a browser environment.
>
> If not, shall I enter an issue in Jira?
>
> It seems like a bad idea to use AWT classes in a JavaFX app. On OS X I see all sorts of weird messages if I try because some things try to initialize the AWT thread which can't initialize properly if JavaFX is initialized first.
>
>
> Regards,
>
> Scott
More information about the openjfx-dev
mailing list