• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

JavaFX Script or JavaFX 2.0?

 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been reading that JavaFX Script is end-of-life. Does the book JavaFX: A Beginners Guide cover programming with JavaFX 2.0, a public preview of which is expected next month?
 
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think JavaFX Script would continue to exist and JavaFX 2 would have Java APIs for creating JavaFX components so that Java developers need not learn a new scripting language for JavaFX.
 
Mohamed Sanaulla
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Darryl Burke wrote:I've been reading that JavaFX Script is end-of-life. Does the book JavaFX: A Beginners Guide cover programming with JavaFX 2.0, a public preview of which is expected next month?



I read through this link you had posted in a different thread- I didn't read in the road map that JavaFX Script is end-of-life. But may be its something conveyed indirectly- through the integration with Java? But for people who would want to design the UI in JavaFX would have to learn Java now? Earlier just the knowledge of JavaFX Script would be enough to design the UI (not giving any functionality to it)
 
Darryl Burke
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

the knowledge of JavaFX Script would be enough to design the UI (not giving any functionality to it)


JavaFX script certainly isn't limited to designing a GUI, it is entirely capable of providing functionality. As an example, here's a script I wrote in answer to a question on another forum:
 
Mohamed Sanaulla
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What I meant was that one could learn just JavaFX Script to create the UI layout. Adding functionality could be done by a Java programmer who knows JavaFX or may be by the person who designed the UI. But with removal of JavaFX Script- person would have to learn Java to create UI based on JavaFX.
 
Ranch Hand
Posts: 48
Netbeans IDE Redhat Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're comfortable with Class-Style JavaSE Programming, then you should choose JavaFX 2.0. If you're more comfy with script language like scala, JRuby, or anything else, you should choose JavaFX script. Because, I don't know if JavaFX 1 will be developed anymore.
 
Mohamed Sanaulla
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Yosi Pramajaya wrote:If you're comfortable with Class-Style JavaSE Programming, then you should choose JavaFX 2.0. If you're more comfy with script language like scala, JRuby, or anything else, you should choose JavaFX script. Because, I don't know if JavaFX 1 will be developed anymore.



JavaFX Script it no longer supported officially. JavaFX 2 is API which can be used along with Java, just like any other Java API. Along with this there are a lot of other major enhancements.

But if you a a fan of JavaFX Script, then I would recommend you to look at Visage

There's FXML which provides a declarative way to build the Java object graph- Preferably used for creating the JavaFX UI.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic