File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JavaFX and the fly likes Can I use JavaFX to build full GUI? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Can I use JavaFX to build full GUI?" Watch "Can I use JavaFX to build full GUI?" New topic
Author

Can I use JavaFX to build full GUI?

Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Hi, I saw many topics comparing JavaFX and Adobe's products. I know that JavaFX has somehow wider purpose (you can build an applications for mobile phones, as much as I understood), but can I built rich standalone desktop application, just as I do using .NET WPF, or Adobes AIR?
Is JavaFX so strong, that it could provide equal final GUI just as mentioned two can?
Thanks!
Simon Morris
Greenhorn

Joined: Feb 18, 2010
Posts: 3
Slobodan Erakovic wrote:Hi, I saw many topics comparing JavaFX and Adobe's products. I know that JavaFX has somehow wider purpose (you can build an applications for mobile phones, as much as I understood), but can I built rich standalone desktop application, just as I do using .NET WPF, or Adobes AIR?
Is JavaFX so strong, that it could provide equal final GUI just as mentioned two can?
Thanks!


Yes you can write desktop software using JavaFX, although at the moment the controls that ship with the 1.2 release are not as complete as rival toolkits. This should change with the upcoming JavaFX 1.3 (aka JavaFX 2) release which is expected shortly.
jubin kart
Greenhorn

Joined: Jul 19, 2008
Posts: 8
Hi Morris,

I am interested in using FX to build one of our desktop applications but I am not sure about its features.

I was able to build a sample application using suns online tutorial and was quite impressed.

I am however couldn't find anything that allowed me to use standard java api to perform other functions like DB connections and messaging. How can I call those api from the "fx" file.
Aslo is there "Coding practices" specially for JavaFX ?

Thanks,


The only true wisdom is in knowing you know nothing.
jubin kart
Greenhorn

Joined: Jul 19, 2008
Posts: 8
I think I got it

Create the class file in java

Then call it from your script as so...


I guess then the handlers and listeners for the component also written in java can handle any datasource / server interaction.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can I use JavaFX to build full GUI?