• 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
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JavaFX book question

 
Ranch Hand
Posts: 77
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Hendrik Ebbers, I have few questions

1. What is JavaFX exactly . Is it used just for developing applications .How is it different from java swing or Java EE ?
2. Is it a scripting language or anything related to Data base language?
3. As it is used to develop rich internet applications (RIAs), do we need to buy any software to work on it ?
4. How does this book help me?

Thank you.
Shiva
 
author
Posts: 32
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JavaFX is the replacement of Swing. SO it is an UI Toolkit for desktop application. Next to this you can develop mobile and embedded applications with it. You can't compare JavaFX with Java EE. Normally you will have a Java EE backend and a JavaFX or HTML fronted.
JavaFX isn't a scripting language. Some years ago the predecessor of JavaFX 8 was a scripting language but today JavaFX is completely based on Java. Like Swing JavaFX provides a lot of Java APIs that can be used to create applications.
You don't need to buy any software. With Java 8 JavaFX is part of the JDK and JRE and can be used in any application. Because it isn't a script language you can use any IDE (Eclipse, Netbeans, IntelliJ) to create applications with Java.
If you want to learn JavaFX and create applications with it you can find a lot of useful informations in the book. The book describes the basics of JavaFX and its core concepts. In addition it contains descriptions and examples for all basic controls of JavaFX like Buttons or tables. Next to this you will find some informations about styling (CSS) and how you can combine JavaFX with Swing or SWT.
 
Shiva Gajjala
Ranch Hand
Posts: 77
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Hendrik ,

Now a days most of the projects are based on web applications rather than desktop . So I want to make use of JavaFX in web apps. As you said we can use JavaFX in the front end. Can we completely replace html, javascript , css coding and write pure java code using JavaFX API ? Can we just integrate css with JavaFX or it is already included in the API??

Regards,
Shiva
 
Hendrik Ebbers
author
Posts: 32
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As you can read in the linked post JavaFX isn't a technology to create web applications: https://coderanch.com/t/636267/JavaFX/java/JavaFx
The main focus of JavaFX is on desktop & embedded applications.
About your CSS question: JavaFX supports CSS and you can style any component by using CSS. The complete overview about CSS support in JavaFX can be found here: http://docs.oracle.com/javase/8/javafx/api/javafx/scene/doc-files/cssref.html
 
To get a wish, you need a genie. To get a genie, you need a lamp. To get a lamp, you need a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic