This week's book giveaway is in the Object Relational Mapping forum.
We're giving away four copies of Pro JPA 2: Mastering the Java Persistence API and have Mike Keith and Merrick Schincariol on-line!
See this thread for details.
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Java FX
 
RSS feed
 
New topic
Author

Is JavaFX ready for prime time?

Harry Mitchell
Greenhorn

Joined: Mar 14, 2008
Messages: 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
Sheriff

Joined: Jul 11, 2001
Messages: 13644

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.

"Fookin Prawns"
Gail Anderson
Author
Ranch Hand

Joined: Jul 07, 2009
Messages: 42

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
Messages: 42

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)
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Java FX
 
RSS feed
 
New topic
IntelliJ open source