- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- PreviewWrapper
protected class PreviewWrapper.PreviewWrapperInitializer
extends java.lang.Thread
------------------------------------------------------------------------
PreviewWrapperInitializer is a Thread that solves the preview viewer class,
instantiates preview viewer and initialized it. Downloading and initializing
the preview in a thread of it's own, Wandora's user interface doesn't
block and freeze if it takes longer. Notice, the thread exits once the
preview is ready. If the user stops (exits) the preview for some reason,
the isAborted variable is set true and the thread does as little as it can.
The thread is never really killed (forced to abort) though. This is because
the preview may become unstable if the initialization is stopped carelessly.