Class Stat_file

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

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

Class Stat_file


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Stat_file(java.awt.Frame f, java.util.Hashtable ht)
          The Constuctor takes two arguments.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          void actionPerformed(ActionEvent e) is invoked when the user has bin notified that the Statistics is saved and the user has pressed the "Ok" button.
 void run()
          The void run() function creates a FileDialow window in where the user can select a file in where Statistics about participants should be saved.
 
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

Stat_file

public Stat_file(java.awt.Frame f,
                 java.util.Hashtable ht)
The Constuctor takes two arguments. The Frame f is the parent window and the Hashtable ht shold be a Hashtable which stores information about Participants
Method Detail

run

public void run()
The void run() function creates a FileDialow window in where the user can select a file in where Statistics about participants should be saved. When Statistics is saved the user is notified via a Dilog window
Overrides:
run in class java.lang.Thread

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
void actionPerformed(ActionEvent e) is invoked when the user has bin notified that the Statistics is saved and the user has pressed the "Ok" button. This terminates this object.
Specified by:
actionPerformed in interface java.awt.event.ActionListener