Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Can I use JavaFX to build full GUI?  RSS feed

 
Ranch Hand
Posts: 399
  • 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!
 
Greenhorn
Posts: 3
  • 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.
 
Greenhorn
Posts: 8
  • 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
  • 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.

 
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!