How do you feel about JavaFX?

I have done a lot of work in ActionScript 3.0, and I also like programming in Java Is JavaFX right for me? What is the general feeling of JavaFX? Will it become a power room or go on like a java applet? Can the designers I work with be as comfortable with ActionScript and JavaScript as JavaFX?

Solution

Just want to add my $. 02... I've been working on JavaFX for the past 4 days using it on my first small project As some background, I have been professional programming for about 9 years since C, and have been doing Java and C #/ NET.

IMO, JavaFX way is more frustrating, should be Here are some complaints:

Sometimes the grammar is strange It can be easily like Java because of its JavaFX But the syntax is not an easy transition from Java. > The project order in the FX file is actually very important, which means that you encounter a stupid circular reference error, "Oh, you can't use this variable because it hasn't been initialized." the compiler should be easy to deal with, but it doesn't Random things don't work Actions / events on swing controls do not always work. For example, onkeypressed / release of swingsliderbar does not seem to be called. > Error handling is bad If an unhandled exception occurs, there is no real way to tell anyone except the Java console that UI elements begin to react interestingly For example, create a swingtext box and bind its value to a variable Trying to edit the value in the text box now throws an exception because you cannot edit the bound variable But in the UI, text boxes start to have interesting things happen Some characters are only 1 / 2 painted. Sometimes backspace does nothing. Sometimes it deletes a character. Sometimes you can press the "2" key, such as "1" and "2". At the end of the text box, you will enter "21" instead of "12", etc

Although my absolute first problem with JavaFX development now is NetBeans This is very bad for JFX Unable to debug, errors in IDE display errors (I've marked them as errors!), Intelligence can only work 40% of the time. It is incorrect to use the pre programmed code template in the IDE to drag and drop controls I forgot which one, but one of them dropped an "&", which is always invalid at the end of the inserted code and must always be deleted manually... Its simplicity is terrible and unacceptable to companies like sun

Another problem is general documentation It's just lacking Somehow, the JavaFX API won't even be Google's first search result when searching for methods / classes The number of "samples" on the network no longer works because each version has significant refactoring changes and deletes or renames classes

In general, I give JFX a 4 of 10 I want to like it, but JFX 1.1 just doesn't cut it... It's definitely not what I'll consider "production ready"

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>