jsky.navigator
Class Navigator.NavigatorImageLoader

java.lang.Object
  extended by jsky.navigator.Navigator.NavigatorImageLoader
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
Navigator

protected class Navigator.NavigatorImageLoader
extends java.lang.Object
implements java.lang.Runnable

This local class is used to load an image in the event dispatching thread. Doing it in the calling thread could cause the window to hang, since it needs to create and show a top level window and the calling thread (from CatalogNavigator) is already a background thread. The url is only needed for the image history, in case the file is deleted.


Constructor Summary
Navigator.NavigatorImageLoader(java.lang.String filename, java.net.URL url)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Navigator.NavigatorImageLoader

public Navigator.NavigatorImageLoader(java.lang.String filename,
                                      java.net.URL url)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable