FileTransfer.v1_1
Class FTClientWindow.CancelThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--FileTransfer.v1_1.FTClientWindow.CancelThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
FTClientWindow

public class FTClientWindow.CancelThread
extends java.lang.Thread

CancelThread extends Thread. It is used to show a JOptionPane informing the user that the filetransfer is cancelled. The operation is performed in a separate thread so that the EventDispatchThread that is in charge of handling GUI events is releaved and can continue.


Field Summary
private  FTClientWindow window
          Reference to the FTClientWindow.
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ
 
Constructor Summary
FTClientWindow.CancelThread(FTClientWindow window)
          Creates a new CancelThread.
 
Method Summary
 void run()
          Shows a popupbox.
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

window

private FTClientWindow window
Reference to the FTClientWindow.
Constructor Detail

FTClientWindow.CancelThread

public FTClientWindow.CancelThread(FTClientWindow window)
Creates a new CancelThread.
Method Detail

run

public void run()
Shows a popupbox.
Overrides:
run in class java.lang.Thread