[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: java.swt.Desktop equivalent?
From: send2jsmith () gmail ! com (John Smith)
Date: 2012-12-29 5:42:40
Message-ID: F1FFF769-F945-4718-B5B0-16B2E1E3E8CA () gmail ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic