gecco.client.dialogs
Class Error

java.lang.Object
  extended bygecco.client.dialogs.Error

public class Error
extends Object

This class supplies alert boxes that display error messages.

Author:
Andreas Enblom

Method Summary
static void display(String error, Frame owner)
          Displays a modal alert dialog with the given message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

display

public static void display(String error,
                           Frame owner)
Displays a modal alert dialog with the given message. There is an OK button that closes the dialog.

Parameters:
error - The error message to display. If the message should be formatted in a way different from a one line standard JLabel, use html-format of the text.
owner - The frame that owns the modal error dialog.