52562131
This is I used to write an article in the Baidu Library, mainly on the installation of Windowbuder plug-ins in eclipse so that Java can be like C + + as a visual development, no nonsense to say, the direct start
Window Builder Installation
Enter this site http://www.eclipse.org/windowbuilder/download.php
Then right-click the link after the version, copy the linked address
Click Help----->inseal New Sol ... Picture below
Click to paste the copied address in the box
Select All and then click Next
Wait for the installation to complete and the time is longer
Usage
Create Java projects and packages normally, create graphical interfaces as follows, click Other
Select Window ..... Then click Finish
Fill in the class name in name
Click Design to enter the graphics
The layout of the best choice of this, you can select the part location according to the coordinates, drag to where to put where
Set Point Absolute ... And then a little bit more on the canvas.
Click on the widget and move the mouse to the canvas where the widget appears, clicking on the mouse pointer
JButton part double-click into the source code, write the button in the position of the pointer click event Execution
Add mouse or keyboard events lable TextField and other parts
Key and mouse are mouse events and keyboard events, click on the top of the right to enter code to write event execution code.
Create a panel BB
Put three buttons in the inside
Add this panel to the main page
Create an object of the BB () class in the Initialize method and set the position and size
Go to Canvas view
The panel you have defined has been added to the main panel.
Develop a visual interface using Eclipse Windowsbuilder