JDK-8091107 : Add java.awt.Desktop support to javafx
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: 9
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2008-06-10
  • Updated: 2020-11-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
Moved from internal bug database (6686040):

Decide whether or not to add wrappers for java.awt.Desktop for showing documents, launching browser, etc.
Comments
This is planned for JDK 10 (changing the fixVersion to match). It is unlikely we will backport it to a 9 update release.
20-04-2017

Java 9 is in a somewhat awkward state with JDK-8048731 implemented and yet that functionality is unavailable if we use the preferred GUI toolkit (JavaFX). I hope this feature can be addressed in a Java 9 update release, it's been too long already.
20-04-2017

Access to the Mac application menu would be nice. So we can provide things like "About My Application" to get an About dialog. Mac users expect the "About" menu item to be in the application menu. Same goes for "Preferences..."
20-04-2017

We should at least look into what features might make sense for JavaFX.
01-10-2015

New funtionality is planned for the java.awt.Desktop class: JDK-8048731 So I think it would be a good time for the JavaFX team to discuss this with the AWT team.
29-09-2015

I don't think the java.awt.Desktop should just be wrapped, but it should really be ported to JavaFX and of course they should share as much code as possible. But the JavaFX stack should stay independent of the AWT stack. This becomes important, I think, when we can tailor the JRE using Jigsaw, in which case we usually don't want to include the complete AWT stack for JavaFX applications.
29-09-2015

Please enable it! Otherwise you'll force the developer to run websites in the java-fx browser, limiting the app's functionality and possibilities.
17-05-2013

Note that FX8 allows headful AWT to run in the same VM with FX. So the AWT API should work.
17-05-2013

User interest : http://stackoverflow.com/questions/16604341/how-can-i-open-the-default-system-browser-from-a-java-fx-application
17-05-2013

Any news on this Feature?
04-05-2012

Now that we're in Java, we're not going to do this for presidio.
29-03-2011

I think the decision should be: "Yes, of course we should add this". Just need to prioritize.
06-10-2008