gui
Class InfoBox

java.lang.Object
  extended bygui.InfoBox
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class InfoBox
extends java.lang.Object
implements java.awt.event.ActionListener

This will be the window that will be used to take in information about the user.

Author:
Jeff Holschuh, hoele

Constructor Summary
InfoBox(Contact user, boolean editable)
          This is the constructor used to take input from the user.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          This is the method that handles actions from the user
 void display()
           
static void main(java.lang.String[] args)
          A testing Main method, to display the box.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoBox

public InfoBox(Contact user,
               boolean editable)
This is the constructor used to take input from the user.

Parameters:
user - the username
editable - true if editable, false otherwise.
Method Detail

display

public void display()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
This is the method that handles actions from the user

Specified by:
actionPerformed in interface java.awt.event.ActionListener

main

public static void main(java.lang.String[] args)
A testing Main method, to display the box.

Parameters:
args -