File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I use JavaFX to build full GUI?

 
Goran Markovic
Ranch Hand
Posts: 399
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,

 
jubin kart
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic