Java GUI design Tool-netbeans Introduction

Source: Internet
Author: User
Tags versions netbeans linux

First, download NetBeans directly after the decompression can be run

NetBeans is a pure Java program. Windows, OS2, OpenVMS, and Linux editions are the same program, but are started through different startup programs. That's a good thing. The Java compiler for pure C + + is much faster than pure java. The syntax analysis and compilation section can be written in pure C + +, such as visual age for Java. Of course, C + + standards in the lack of cross-platform dynamic link library standards, is a great blunder, this is a digression, do not mention.

NetBeans can use external compilers, such as Javac in the JDK. Of course Javac is also a slow guy. Often NetBeans invokes the Fastjavac in the Netbeans\bin\fastjavac\ directory to compile. I see there are three kinds of windows,linux,solaris. Don't know where the OS2 and OpenVMS versions of Fastjavac went?

NetBeans supports GUI programming, and in GUI programming, wizards produce a initcomponents function, similar to the Jbinit function produced by the JBuilder Wizard.

However, it should be noted that initcomponents is not modifiable in the editor. This may be a major flaw in Java syntax. There is no syntax tag in the Java syntax that supports GUI design times, and for compilers it is too difficult to restore from Java code to the designing window. JBuilder allows programmers to modify the Jbinit function produced by the wizard, and the result is that JBuilder guidesign often make jokes, For example, jbuilder several versions of the GUI design only know this.setsize do not know this.setbounds problem. NetBeans simply does not allow programmers to modify the Initcomponents function, is good or bad not necessarily. In general, NetBeans generates a. form file for each of the visual. java files. For the NetBeans compiler, restoring from Java code to the design window at design time is done by parsing the. form file, so the technical difficulty drops a lot, and it's not as jbuilder as the usual. Of course the solution to the problem requires sun to get to the Microsoft string spring? VB design course, just do not know how much the Microsoft tuition fees, haha!!

In the initcomponents function of NetBeans, Chinese is generally encoded in Unicode. This makes no sense. Perhaps because designers do not understand some of the problems of Asian characters, for the sake of insurance, simply coding. The encoded Chinese characters are still Chinese characters in the GUI design window. Chinese characters in other functions are not automatically encoded.

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.