jsky.navigator
Class Navigator.NavigatorImageLoader
java.lang.Object
jsky.navigator.Navigator.NavigatorImageLoader
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- Navigator
protected class Navigator.NavigatorImageLoader
- extends Object
- implements 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.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Navigator.NavigatorImageLoader
public Navigator.NavigatorImageLoader(String filename,
URL url)
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.