jgnash.ui
Class StaticUIMethods

java.lang.Object
  extended by jgnash.ui.StaticUIMethods

public class StaticUIMethods
extends java.lang.Object

Keep various odds and ends here instead of the main class

Version:
$Id$
Author:
Craig Cavanaugh

Nested Class Summary
private static class StaticUIMethods.LocaleObject
          Internal class for display Locale objects in a nice readable and sorted order
 
Constructor Summary
private StaticUIMethods()
           
 
Method Summary
static void displayError(java.lang.String message)
          Display an error message
protected static void setDefaultCurrency(javax.swing.JFrame frame)
           
protected static void setDefaultLocale(javax.swing.JFrame frame)
          Displays a dialog to prompt the user to select a default locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticUIMethods

private StaticUIMethods()
Method Detail

setDefaultCurrency

protected static void setDefaultCurrency(javax.swing.JFrame frame)

setDefaultLocale

protected static void setDefaultLocale(javax.swing.JFrame frame)
Displays a dialog to prompt the user to select a default locale.

Parameters:
frame - A reference to the parent JFrame

displayError

public static void displayError(java.lang.String message)
Display an error message

Parameters:
message - error message to display