Sunday, December 5, 2010

Brazilian Wax Leftover Wax

Java development environment Netbeans

When installed and run Java Netbeans following window appears:
















to enter other then for a project, select the menu option text the "File", followed by the op tion "New Project ..." ,


Then a window appears select the type of project ...
select the option "Java Application" to create standard Java applications, click Next, then in the window put the name and location of the project ...

after creating the project, the following environment ...


Let's add a frame and as such will create a program that generates as a result the average of three numbers ...
To do this we right-click the project name and choose "New", then to "JFrame Form ..." .


JFrame We place the name ...

Then, in the design p AIN the JFrame appear ...

Main.java recommend deleting the default our JFrame that we have created is the main frame ...
With the design palette and add the label TextField needed to create a JFrame like this ...
Note that in each command set TextField should be changed in the property "Text" by the names indicated (JT1, JT2, JT3), as well as the equiteta jLabel5 (JR).
Then we jButtom1 button and write the following sentences ...

When you run the JFrame, enter a number in each text field and press the button appear
something like this ...

practicing!.






0 comments:

Post a Comment