net.sf.jomic
Class Jomic

java.lang.Object
  extended by net.sf.jomic.Jomic
All Implemented Interfaces:
StandardConstants

public class Jomic
extends java.lang.Object
implements StandardConstants

Platform independent Jomic application to view comic book archives.

Author:
Thomas Aglassinger

Nested Class Summary
protected static class Jomic.JomicRunner
          Runnable to show Jomic while in event-dispatching thread.
 
Field Summary
 
Fields inherited from interface net.sf.jomic.tools.StandardConstants
KILO_BYTE, MEGA_BYTE, TICK
 
Constructor Summary
Jomic(java.io.File newComicFile)
           
 
Method Summary
protected static void exitWithError(java.lang.Throwable error)
          Show dialog for error and exit.
protected  boolean isReadyForOpen()
          Is the JomiFrame ready to open archives, in other words: is the initialization finished?
static void main(java.lang.String[] arguments)
          Run the Jomic application using the command line arguments specified in arguments .
protected  void setComicFile(java.io.File newComicFile)
           
 void show()
          Open comic viewer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jomic

public Jomic(java.io.File newComicFile)
Method Detail

setComicFile

protected void setComicFile(java.io.File newComicFile)

isReadyForOpen

protected boolean isReadyForOpen()
Is the JomiFrame ready to open archives, in other words: is the initialization finished?


main

public static void main(java.lang.String[] arguments)
Run the Jomic application using the command line arguments specified in arguments .


show

public void show()
          throws java.io.IOException
Open comic viewer.

Throws:
java.io.IOException

exitWithError

protected static void exitWithError(java.lang.Throwable error)
Show dialog for error and exit. If error is a ItemMustBeDownloadedException , also offer to download the missing item.

See Also:
ItemMustBeDownloadedException