Ch 11 – GUI (1) - SaigonTech

aniseedsplashSoftware and s/w Development

Aug 15, 2012 (5 years and 1 month ago)

336 views

GUI Components to Be Learned


JLabel


JTextField


JButton


JOptionPane

The Hello Application

Problem


Creating a Project


Creating a GUI Container



Running the Program


Using JOptionPane

Problem



Exercise


A mile is equal to 0.6214 kilometers.
Develop a GUI in which the user will enter
a distance in kilometers, and then click a
button to see the distance converted to
miles


References

1.
GUI Building in NetBeans IDE 5.5.
http://testwww.netbeans.org/kb/55/quickstart
-
gui.html

2.
Developing a Web Application.
http://testwww.netbeans.org/kb/55/vwp
-
helloweb.html

3.
Adding Functionality to Buttons: A Beginner
Guide.
http://testwww.netbeans.org/kb/articles/gui
-
functionality.html

4.
Starting Out With Java 5 from control
structures to objects. Tony Gaddis