In Feburary 2016 17,
The Java JDK (Java Development Kit) includes the Java virtual machine, the Java compiler and a wide range of useful libraries (or 'packages,' in Java parlance) including AWT and Swing. The place to go for the latest Java is The Source for Java Developers (see link in Resources). On the right-hand column you will see Popular Downloads, click 'Java SE' to bring up a new page. Look for the JDK that comes with NetBeans (see link in Resources). Download and install.
Using NetBeans to Make Your First GUI
With NetBeans IDE and the Java SDK installed, building the first GUI is easy. NetBeans IDE will display a start page that includes links to tutorials on the NetBeans IDE and Java. This example creates a simple application to say, 'One World!' At the top left of the NetBeans IDE, click File > New Project. A New Project dialog box appears. Under Categories, click 'Java.' Under Projects, click Java Desktop Application > Next. A new screen comes up with the 'Project Name' and 'DesktopApplication1' highlighted. Change 'DesktopApplication1' to 'OneWorld!' Click 'Finish.' The dialog box will disappear. NetBeans IDE will reorganize itself into three tabbed windows--one labeled 'Projects,' a middle one showing a Design layout for a simple GUI and the third labeled 'Palette,' which shows different Containers and Controls. Under Palette > Swing Controls > Label. Grab and pull it into the middle display, in the middle part of the gray GUI space. The Label will become surrounded by some smaller drag handles (for resizing) and some thin gray-blue guidelines and in the middle, the text will read 'jLabel1.' Double click 'jLabel1,' and type 'One World!' Press the 'F6' key to run the program. You have built your first Java GUI.
Next Steps
To learn more, follow the tutorials for Java available with the NetBeans IDE. Begin with a detailed tutorial to help you deepen your knowledge and expertise in Java (see link in Resources).
In Feburary 2016 17,