Intellij Idea 4 New Features of GUI Designer (Graphical Interface RAD)

zhaozj2021-02-16  45

(Translator Note: It is best to download the video Demo recommended before looking at the following translation!)

Http://www.jetbrains.com/idea/training/demos/ui_designer1_deploy.zip

http://www.jetbrains.com/idea/training/demos/ui_designer2_deploy.zip

http://www.jetbrains.com/idea/training/demos/ui_designer3_deploy.zip

IDEA's new innovative GUI designer uses a grid paradigm for the quick and easy creation and maintenance of both complex and simple component layouts. Due to unique byte-code instrumentation techniques your sources will no longer be cluttered with tons of hard-to-maintain GUI- Construction Code.

IDEA introduces a revolutionary user interface design, you can use form easy creation and maintenance, regardless of simple or complex user interface layout. Due to the introduction of the first BYTE-CODE INSTRUMENTATION technology, there is no bloated interface constructor in your program.

Visual Form Creation and Modification (Visual Form Creation and Modification)

.

A powerful GUI Designer is integrated into the editor, since you can directly see the user interface, you can quickly develop an interface with GUI Designer.

Even complex GUI forms can be easily created from scratch. When you need to introduce structural changes into existing GUI forms, you do not need to break the entire form layout. Re-arranging, adding or deleting GUI components can be made locally, in a Quick and easy way.

Even if you are a complex interface, you can be easily constructed. When you need to change a designed form, you don't need to mess with the current whole form, you only need a simple re-layout, no matter insert Or delete Gui Components can be easily set!

(Translator Note: Such interface layout is designed to be close to VB, Delphi's RAD!)

GUI LAYOUT IS SEPARATED FROM CODE (interface layout and code to independence, mutual impact!)

GUI layout information is separated from your Java code, and is stored in devoted XML-based form files. Each GUI form is bound to a Java class, and form components are referred by class fields. Unique Byte-code instrumentation technics allow you to get rid of complicated Swing code in your Java sources. IDEA's GUI-compiler transparently generates all code necessary to create and lay out form components. The GUI-compiler has been integrated into IDEA's make functionality, and is also available as a separate Ant task delivered together WITH The Idea Distribution.There Is Also An Option To Generate Java Source Code Instead of Using The Byte-Code Instrumentation Approach.Gui Layout Separates the Separation of your Java code, which is stored in a XML format. They are binding, of course, code can access your Form Components's original BYTE-CODE INSTRUMENTATION technology allows you to get bloated swam build code from you to Java code, Idea's Gui-Compiler makes you create The interface code is completely transparent to you. The introduction of GUI-Compiler enhances the IDEA function, which is released as an Ant Task and IDEA. Of course, you can also develop your Java programs with the most original way, not byte-code instructionation technology.

(Translator Note: Use the GUI-Designer design interface, then gui-compiler will help you save this interface and you have Java code, this technology is byte-code inStrumentation

Binding of GUI Form Components To Class and Class Fields (Binds between Form Controls and Class)

You can quickly bind your GUI form to an existing class If there is no class, to bind with the form, you can create it right from the GUI Designer Just enter a desired class name -.. The lightbulb will appear with an intention action to CREATE A New Class.

You can quickly bind your GUI FORM and an existing Class, if this class does not exist, GUI Designer creates a Class according to your GUI Form, just enter a Class name - small light bulb will be eye-catching The appearance of Class Binding Particular Gui Components to Class Fields Is Exactly as Easy as Binding The Form To The Class.

Bind some controls to Class's fields, as simple as this step, Ant Task Supplied for Compiling GUI FORMS INTO YOURDS (visual GUI design appears in Ant Task) in your program)

The Bundled Ant Task Supports Byte-Code Instrumentation Technics for Compiling IDEA GUI FORMS. IT Provides The Following Benefits:

Binded Ant Task fully supports Byte-Code Instrumentation Technics, which has the following advantages:

You can quickly integrate the generated GUI forms into your project build Use of GUI designer does not force you to keep all of your coding in IDEA (especially useful when team members work with different IDEs).

Quick with your project documents Combine this GUI design does not necessarily only for IDEA, especially when your colleagues are using other IDEs.

I18n support (Support I18N)

TEXT VALUES ON GUI Components Can Be Specified Either by Constant Strings, or Be Obtained from The Specified Resource Bundle.

The text appearing on the GUI Components can be recorded in a constant or resource (XML).

Ability to create Custom Palettes (you can create your own Palettes)

The Additional Component Palette option (available in IDEA settings) enables you to add an additional palette of Swing components, containing your own custom UI beans and / or beans from one or more third-party libraries, to the GUI Designer's component palette.

Additional Component Palette in the options set by IDEA allows you to add extra Swing Components's Palette, including your own or third-party UI Beans.

(Translator Note: If you still don't know much, you can take a look at the three demo files. To tell the truth, if I haven't worry about Java's GUI design, then Intellij Idea 4 makes me completely shut up. )

转载请注明原文地址:https://www.9cbs.com/read-28340.html

New Post(0)