Class Input_file

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--Input_file

public class Input_file
extends java.lang.Thread
implements java.awt.event.ActionListener

The class Input_file


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Input_file(java.awt.Frame f, java.util.Hashtable ht)
          The Constructor sets the reference to the Hashtable which holds the data about Participants The Frame f is the parent Frame
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Function actionPerformed(ActionEvent e) is invoked either when the user Cancels the Loading Process or when the "Ok" button is Pressed when the Data is Collected.
 void run()
          Function void run creates a FileDialog Window where the user can select the file from where data about Participants should be collected.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Input_file

public Input_file(java.awt.Frame f,
                  java.util.Hashtable ht)
The Constructor sets the reference to the Hashtable which holds the data about Participants The Frame f is the parent Frame
Method Detail

run

public void run()
Function void run creates a FileDialog Window where the user can select the file from where data about Participants should be collected. When data is beeing loaded the user can cancel the process via a Dialog window that pops up. When the data is Loaded the user is notified via a Dialog Window.
Overrides:
run in class java.lang.Thread

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Function actionPerformed(ActionEvent e) is invoked either when the user Cancels the Loading Process or when the "Ok" button is Pressed when the Data is Collected.
Specified by:
actionPerformed in interface java.awt.event.ActionListener