Studyon Minte9.com
Java SE




Hello World



1) New Project 
	Name: SwingProject / main class (unchecked)

2) New JFrame Form
	Name: SwingGUI / package "learn"

3) Windows
	Design Area / Palette / Properties / Navigator

4) Properties
	Change title

5) Designer
	- jTextField (+ jLabel)
	- jButton    (+ jLabel)

6) Rename
	- _______ (+ Celsius)
	- Convert (+ Fahrenheit)

7) Navigator
	- Rename fields variables

8) Your code
	
	%java
		private void convertButtonActionPerformed(java.awt.event.ActionEvent evt) {
			int tempFahr = (int)(Double.parseDouble(tempTextField.getText()) * 1.8 + 32); 
			fahrenheitLabel.setText(tempFahr + " Fahrenheit");
		}


http://docs.oracle.com/javase/tutorial/uiswing/learn/settingup.html