| Author |
Is it worthy learning JavaFX?
|
Rogerio Kioshi
Ranch Hand
Joined: Apr 12, 2005
Posts: 659
|
|
Hi,
Do you think it is worthy learning JavaFX? Currently I don't need to work with rich interfaces.
Is it a free technology, or it depends on Oracle servers?
Thank you
|
SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4202
|
|
|
JavaFX is free.
|
luck, db
There are no new questions, but there may be new answers.
|
 |
Mohamed Sanaulla
Bartender
Joined: Sep 08, 2007
Posts: 2946
|
|
If you would be using the language/technology somewhere then its worthy learning it, otherwise also you get to know about the latest advancements in the programming world. But without application, the knowledge would die out soon (And I have experienced this- My JavaFX knowledge is almost tending to Zero and would be negative soon )
|
Mohamed Sanaulla | My Blog
|
 |
Luigi Plinge
Ranch Hand
Joined: Jan 06, 2011
Posts: 441
|
|
|
But JavaFX Script is on its way out, because JavaFX 2 doesn't support it.
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4202
|
|
Agree with Luigi. Moreover, JavaFX 2.0 is a Java API like any other, obviating the need to learn a different syntax.
While using bindings in JavaFX 2.0 is at present rather verbose when compared to the terse bindings of JavaFX Script, the introduction of closures in Java 8 will alleviate that.
Possibly the greatest advantage JavaFX offers over the other UI packages (Swing, AWT) is the ability to customize the UI via CSS, supporting both node-specific and inherited styles. On the down side (IMHO), the API is high level in the extreme, making it difficult to customize via inheritance.
Till date, the single most disturbing 'feature' of FX that has come to my attention is that showing a modal dialog doesn't block the thread of execution -- and the FX team maintains that the behavior is "by design" This is contrary to modality concepts not only in Swing but in other, non-related visual platforms such as VB and VFP.
|
 |
Randall Twede
Ranch Hand
Joined: Oct 21, 2000
Posts: 4095
|
|
i think it is worth spending a day or two to learn the basics just to see a different way of doing things. in some ways it reminds me of the basics we used in the early 80's. we could do things like:
x = "hello"
println x
x = 27
i am glad however that javaFX 2 will go back to standard java syntax.
i imagine that they will maintain backwards compatibility so compiled javaFX script will still run ok.
|
SCJP
|
 |
Luigi Plinge
Ranch Hand
Joined: Jan 06, 2011
Posts: 441
|
|
Randall - what you just typed is valid Groovy... you might like to check it out!
x = "hello"
println x
x = 27
hello
Result: 27
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4202
|
|
Randall Twede wrote:i imagine that they will maintain backwards compatibility so compiled javaFX script will still run ok.
Nope. There are already incompatible changes in the API. Many of the FX 1.x classes don't exist in 2.0.
|
 |
Mohamed Sanaulla
Bartender
Joined: Sep 08, 2007
Posts: 2946
|
|
|
No backwards compatibilty. There is no JavaFX script, just Java APIs for JavaFX. But there's is a fork of JavaFX script that is- Visage.
|
 |
 |
|
|
subject: Is it worthy learning JavaFX?
|
|
|