aspose file tools*
The moose likes JavaFX and the fly likes Is JavaFX ready for prime time? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Is JavaFX ready for prime time?" Watch "Is JavaFX ready for prime time?" New topic
Author

Is JavaFX ready for prime time?

Harry Mitchell
Greenhorn

Joined: Mar 14, 2008
Posts: 5
Hello Gail and Paul,

For JavaFX to be ready for prime time, I must be able to do the same things with it that swing does now. To add swing functionality in a JavaFX app do you recommend using swing components directly? An example of a missing component is JTable. How difficult is it to incorporate swing components?

Thanks,
Harry
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

The fact that JavaFX doesn't have a Data Grid has made me question its viability since the beginning. This is one the most basic components needed for any real world RIA. And sticking a JTable inside a JavaFX app doesn't cut it.


GenRocket - Experts at Building Test Data
Gail Anderson
Author
Ranch Hand

Joined: Jul 07, 2009
Posts: 44
Hi Harry-

Yes JavaFX includes a variety of Swing components, but not all of them. But you can without too much difficulty use those that are missing, since JavaFX lets you access the entire Java API.

The JavaFX site has several good examples. Here are two really good ones:

Using JXMapViewer
Mixing Swing and JavaFX
Gail Anderson
Author
Ranch Hand

Joined: Jul 07, 2009
Posts: 44
I wanted to add the following thought.

Several of the engineers on the JavaFX UI team came from Swing. At JavaOne this year, they expressed a great interest in providing the functionality of Swing in JavaFX, but with improvements. So, look to using the "native" UI controls for both functionality and customizing ("skinning"). 1.2 is a start, but know that effort will be spent on developing these UI controls. Eventually, you'll be able to do everything without using Swing! (my opinion)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is JavaFX ready for prime time?