dods.util.gui
Class error_box

java.lang.Object
  extended by dods.util.gui.error_box

public class error_box
extends Object

Dispays a simple error message box.

Version:
$Revision: 1.2 $
Author:
ndp

Constructor Summary
error_box(String msg)
          Construct and display an error dialog box.
error_box(String title, String msg)
          Construct and display an error dialog box.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

error_box

public error_box(String msg)
Construct and display an error dialog box.

Parameters:
msg - This string is used as the message text in the dialog box.

error_box

public error_box(String title,
                 String msg)
Construct and display an error dialog box.

Parameters:
title - This String is used in the title bar of the dialog box.
msg - This string is used as the message text in the dialog box.