Meaningless Drivel is fun!
The moose likes JavaFX and the fly likes Swing to JavaFX2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Swing to JavaFX2" Watch "Swing to JavaFX2" New topic

Swing to JavaFX2

Stephane Clinckart
Ranch Hand

Joined: Oct 21, 2003
Posts: 89

I read that in the roadmap of JavaFX2 there is something binded to handle Swing.

Can you spot me a good article that explain what is covered ?

Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3151

JavaFX is not being bound to Swing- Instead they are adding an API so that one can create JavaFX components from the Java app just like you do for Swing. In current and previous versions one had to write JavaFX Script to create GUI. This article ( shows how the JavaFX components can be created in a Java code- Though this uses a different component, it does show the syntax There would be few more of such samples.

Mohamed Sanaulla | My Blog
It is sorta covered in the JavaRanch Style Guide.
subject: Swing to JavaFX2
It's not a secret anymore!