dods.util.gui
Class error_box

java.lang.Object
  extended bydods.util.gui.error_box

public class error_box
extends java.lang.Object

Dispays a simple error message box.

Version:
$Revision: 1.2 $
Author:
ndp

Constructor Summary
error_box(java.lang.String msg)
          Construct and display an error dialog box.
error_box(java.lang.String title, java.lang.String msg)
          Construct and display an error dialog box.
 
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(java.lang.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(java.lang.String title,
                 java.lang.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.