tut10_2009 - EE3206/EE5805 Java Programming and...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
EE3206/EE5805 Java Programming and Applications Tutorial 10 – Building GUI 1. Create the three classes TestFlowLayout , TestGridLayout and TestBorderLayout (Code 1 to Code 3) in your NetBeans project. Execute these three classes and inspect the output respectively. Do you find any differences? Explain why. 2. Write a simple GUI application as illustrated below. The application shows five buttons on the upper part and a blank color area in the lower part of the interface. A user may click on the buttons to change the color of the color area accordingly. 3. Read the online training below and follow the steps to create a simple but functional calculator. Familiarize yourself with the NetBeans GUI Builder’s design features. ± Introduction to GUI Building http://www.netbeans.org/kb/docs/java/gui-functionality.html - END -
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Code 1. TestFlowLayout package jtutor10; import java.awt.Dimension; import javax.swing.JFrame; import java.awt.FlowLayout; import javax.swing.JButton; public class TestFlowLayout extends JFrame {
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/20/2010 for the course ELECTRONIC EE3206 taught by Professor Tingchiwang during the Spring '10 term at École Normale Supérieure.

Page1 / 3

tut10_2009 - EE3206/EE5805 Java Programming and...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online