All pastes #2061342 Raw Edit

Something

public text v1 · immutable
#2061342 ·published 2011-05-16 12:19 UTC
rendered paste body
//Josh Crichton
//Programming - Mr. Tennant
//Proj4_5 - Currency Converter

import java.awt.*;
import java.applet.*;
import java.awt.event.*;

public class Proj4_5 extends Applet implements ActionListener
{


Button button1, button2, button3, button4, button5, button6;
Label label1, label2, label3;
TextField text1, text2, text3;

Float dollars1, xRate1;
float forgnCurr1;
Float forgnCurr2, xRate2;
float dollars2;
Float principal, intRate, months;
double period, payment;

public void init()
{

setLayout(null);

button1 = new Button ("$ to EGP (Egyptian)");
button1.setBounds(30, 30, 150, 30);
add(button1);
button1.addActionListener(this);

button2 = new Button ("EGP (Egyptian) to $");
button2.setBounds(200, 30, 150, 30);
add(button2);
button2.addActionListener(this);

button3 = new Button ("Simple Loan");
button3.setBounds(370, 30, 150, 30);
add(button3);
button3.addActionListener(this);

button4 = new Button ("Convert $");
butto