Class FileMenuApplet.IndexLoader

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--FileMenuApplet.IndexLoader

protected class FileMenuApplet.IndexLoader
extends java.lang.Thread

Loader class which creates a hierarchical Open menu based on an index file.

Author:
Mike Jahr
See Also:
FileMenuApplet

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
FileMenuApplet.IndexLoader(FileMenuApplet inm, java.lang.String intitle)
          Creates an IndexLoader object which will add a menu with the given name to the given JMenu.
 
Method Summary
 void run()
          Thread method which does al the work.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileMenuApplet.IndexLoader

public FileMenuApplet.IndexLoader(FileMenuApplet inm,
                                  java.lang.String intitle)
Creates an IndexLoader object which will add a menu with the given name to the given JMenu.
Method Detail

run

public void run()
Thread method which does al the work. If an error is encountered while reading the index file, a message is displayed and a disabled menu item is added instead.
Overrides:
run in class java.lang.Thread