Program__SIX - import java.util.*; import java.lang.*;...

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

View Full Document Right Arrow Icon
import java.util.*; import java.lang.*; import*; import java.text.*; import java.math.*; import java.text.DecimalFormat; import javax.swing.*; import java.awt.*; import java.awt.event.*; // Jeremy Debruce // 4/2/2009 public class Program__SIX extends JFrame { private JLabel PurposeL,calculateBL, calculateB1L, calculateB2L, calculateB3L; private JTextField PurposeTF,calculateBTF, calculateB1TF, calculateB2TF, calculateB3TF; private JButton PurposeB,calculateB, calculateB1, calculateB2, calculateB3,exitB; private CalculateButtonHandler0 cbHandler0; private CalculateButtonHandler cbHandler; private CalculateButtonHandler1 cbHandler1; private CalculateButtonHandler2 cbHandler2; private CalculateButtonHandler3 cbHandler3; private ExitButtonHandler ebHandler; private static final int WIDTH = 400; private static final int HEIGHT = 300; public Program__SIX() { System.out.println("**************************************************"); System.out.println("*The purpose of this program is to allow the user*"); System.out.println("*to compute simple interest,solume of a cube and *"); System.out.println("*a cone, and the area of a circle using GUI. *"); System.out.println("**************************************************"); System.out.println(); //Create the four labels
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/17/2011 for the course COMP 2302 taught by Professor Staff during the Spring '11 term at Kennesaw.

Page1 / 4

Program__SIX - import java.util.*; import java.lang.*;...

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

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