spv.util
Class SpecviewDialog

java.lang.Object
  extended by spv.util.SpecviewDialog
Direct Known Subclasses:
ErrorDialog, WarningDialog

public abstract class SpecviewDialog
extends java.lang.Object

This class provides the infrastructure necessary to implement message dialogs. It mostly acts as a wrapper around the OptionPane methods and constants. Subclasses must provide the necessary customization.

Version:
1.0 - 28Oct98, 2.0 - 11Mar02
Author:
Ivo Busko (Space Telescope Science Institute)

Field Summary
protected  javax.swing.JFrame frame
           
protected  java.lang.String msgtype
           
protected  int type
           
 
Constructor Summary
SpecviewDialog()
           
 
Method Summary
protected  void makeDialog(java.lang.String message)
          This method creates a modal message window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frame

protected javax.swing.JFrame frame

msgtype

protected java.lang.String msgtype

type

protected int type
Constructor Detail

SpecviewDialog

public SpecviewDialog()
Method Detail

makeDialog

protected void makeDialog(java.lang.String message)
This method creates a modal message window. It also prints the error message at the system's standard error output stream.

Parameters:
message - the message to be displayed