Pos 407 Week 3

Below is one of our free research papers on Pos 407 Week 3. If the term paper below is not exactly what you're looking for, you can search our essay database for other topics or order a custom essay.

Pos 407 Week 3

/*===================================================================
Main Program File Name: Week03IndividualAssignment.java
Support File1 Name: Week03IndividualAssignment.class
Support File2 Name: Week03IndividualAssignment.html
Programming Language: Java
Program Purpose: EXAMPLE PROGRAM TO SHOW I CAN MAKE A WINDOWS JAVA PROGRAM
Main Project Programmer: Edward F. O'Connor, Jr
Program Version: 1.2
Version Control: 1.2
===================================================================*/

/* BEGAIN PROGRAM */

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.Locale;

import javax.swing.BorderFactory;
import javax.swing.BoxLayout;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.border.Border;
import javax.swing.border.EmptyBorder;

public class Week03IndividualAssignment extends JFrame implements ActionListener
{
int term = 0;
double principal = 0;
double rate = 0;
double monthlyPayment = 0;
double interest = 0;

//***************Create JPanels and Make JLabels and JTextFields***************
JPanel row1 = new JPanel();
JLabel mortgage_label = new JLabel("My Mortgage Calculator", JLabel.CENTER);

JPanel row2 = new JPanel(new GridLayout(1, 2));
JLabel principal_label = new JLabel("Mortgage Principal $",JLabel.LEFT);
JTextField principal_txt = new JTextField(10);

JPanel row3 = new JPanel(new GridLayout(1, 2));
JLabel term_label = new JLabel("Mortgage Term (Yrs)",JLabel.LEFT);...
  • Submitted by: kp2006
  • Date Submitted: 03/31/2007 04:30 PM
  • Category: Technology
  • Words: 899
  • Pages: 4
  • Views: 724
  • Rank: 52871

Saved Papers

Save papers so you can find them more easily!

Join Now

Get instant access to over 180,000 papers.

Join Now