edu.northwestern.at.wordhoard.swing
Class WordHoard

java.lang.Object
  extended by edu.northwestern.at.wordhoard.swing.WordHoard

public class WordHoard
extends java.lang.Object

WordHoard client program.

Usage:

WordHoard [sitesURL]

sites = URL of sites XML config file. The default is http://wordhoard.northwestern.edu/sites.xml.


Method Summary
static void closeSplashScreen()
          Closes the splash screen.
static PersistenceManager getPm()
          Gets the primary persistence manager.
static WordHoardSession getSession()
          Gets the server session.
static javax.swing.JLabel getSmallComboBoxLabel(java.lang.String str, java.awt.Font font)
          Creates a new label for a small combo box.
static void main(java.lang.String[] args)
          Main program.
static void quit()
          Quit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPm

public static PersistenceManager getPm()
Gets the primary persistence manager.

Returns:
The the primary persistence manager.

getSession

public static WordHoardSession getSession()
Gets the server session.

Returns:
The server session object, or null if none.

getSmallComboBoxLabel

public static javax.swing.JLabel getSmallComboBoxLabel(java.lang.String str,
                                                       java.awt.Font font)
Creates a new label for a small combo box.

Applies the proper vertical offset to to the label to adjust for the operating system.

Parameters:
str - Label.
font - Font.

closeSplashScreen

public static void closeSplashScreen()
Closes the splash screen.


quit

public static void quit()
Quit.


main

public static void main(java.lang.String[] args)
Main program.

Parameters:
args - Command line arguments.