Static Public Member Functions

# BinNavi.API.helpers.MessageBox Class Reference

Used to display messages to the user. More...

List of all members.

## Static Public Member Functions
static void | showError (final Component parent, final String msg)
| Shows an Error message box.
static void | showException (final Component parent, final Exception exception, final String msg)
| Shows an error message box with information about an exception.
static void | showInformation (final Component parent, final String msg)
| Shows an Information message box.

## Detailed Description

Helper class that can be used to show a message box.

## Member Function Documentation

static void BinNavi.API.helpers.MessageBox.showError | ( | final Component | parent,
|  | final String | msg |
| ) |  |  | `[static]`

Shows an Error message box.

Parameters:

  | parent | Parent component of the message box.
  | msg | Message to be shown.

static void BinNavi.API.helpers.MessageBox.showException | ( | final Component | parent,
|  | final Exception | exception,
|  | final String | msg |
| ) |  |  | `[static]`

Shows an error message box with information about an exception.

Parameters:

  | parent | The parent of the message box.
  | exception | The exception to be displayed.
  | msg | Additional message to be displayed before the exception.

static void BinNavi.API.helpers.MessageBox.showInformation | ( | final Component | parent,
|  | final String | msg |
| ) |  |  | `[static]`

Shows an Information message box.

Parameters:

  | parent | Parent component of the message box.
  | msg | Message to be shown.