org.apache.fop.viewer
Class PreviewDialog.showProgress


class PreviewDialog.showProgress
implements Runnable

This class is used to show status and error messages in a thread safe way.


Field Summary
 (package private) booleanisErrorMessage
          Is this an errorMessage, i.e.
 (package private) Objectmessage
          The message to display

Constructor Summary
PreviewDialog.showProgress(Object message, boolean isErrorMessage)
          Constructs showProgress thread

Method Summary
 voidrun()
           

Field Detail

isErrorMessage

boolean isErrorMessage
Is this an errorMessage, i.e. should it be shown in an JOptionPane or in the status bar.

message

Object message
The message to display
Constructor Detail

PreviewDialog.showProgress

public PreviewDialog.showProgress(Object message, boolean isErrorMessage)
Constructs showProgress thread
Parameters:
message - message to display
isErrorMessage - show in status bar or in JOptionPane
Method Detail

run

public void run()