JavaFX First born Novice Village (read the small rules)

Source: Internet
Author: User
Tags netbeans

I don't talk about how the IDE installed, there are some online, I just say that I have encountered in the course of study, the attention of things

1.JavaFX has just started out as a script scripts development language, so there will be a lot more on the Internet on the script of JavaFX, for the Oracle greatly (Oracle) after the revision of JavaFX is not very practical, and now basically by Java code programming, So the script found on the net can be ignored, because the help is not big, interested in you can spend another time to learn. I'm lazy, don't look at it, hehe

2. About the development of the IDE, currently with more than NetBeans and Eclipse (need to install Efxclipse plug-ins), I have tried both, individuals or the proposed use of NetBeans, after all, the official is so advocated, not to say Eclispe bad, I also came from eclipse, development habits are Eclispe, now Heart IDE code really not accustomed to writing, although there is plug-in support, but still not enough official NetBeans powerful, such as novice most need of the demo reference, for Fxml management, It's true that NetBeans is better than Eclispe. In general, the novice suggested to go to NetBeans, the veteran can try to Eclispe, perhaps there is a good side I did not find. Land reclamation, Pro.

3. There are two types of development steps

(1). Full code (not including Fxml, do not understand fxml Baidu)

(2) First fxml, then write code

I take the second route, because the first is really the master level of choice, JavaFX as a rich client application (RIA), Pure code composition for the novice is almost impossible. Besides, the official also provides a set of visual composition tools ( JavaFX Scene Builder 2.0), currently the newest is 2.0, a very simple rookie-level manual drag-and-pull control for the composition of the tool. The composition process is different for each individual, here does not want to say, after the final completion, the tool will be the user composition of the interface to *. Fxml file form is saved, we can use the IDE to directly refer to this composition interface, very convenient

Here is a bit to note is. When saving files with JavaFX Scene Builder , it is best to choose to save on the desktop, the alternative path may not be saved, my situation is this, may be Win7 operating system reasons, may be the Chinese support bad reason, I am not clear, In case of really did not save, you cry also useless, hehe

OK, let's talk about it today, next time I will tell you what to pay attention to when IDE development, next is the application of the related control, I will continue to the problem I encountered written out, is the online information is too little too little, I do not know to go a lot of detours. Ah ...

JavaFX First born Novice Village (read the small rules)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.