com.sdm.quasar.client.showcase.swing
Class SwingShowcaseApplication

java.lang.Object
  extended bycom.sdm.quasar.client.core.application.AbstractApplication
      extended bycom.sdm.quasar.client.swing.application.AbstractSwingApplication
          extended bycom.sdm.quasar.client.showcase.swing.SwingShowcaseApplication
All Implemented Interfaces:
Application, SystemInfoProvider

public class SwingShowcaseApplication
extends AbstractSwingApplication

This is the main application class of the swing showcase. Run this class as a java application.

main(String[]) creates an application instance and starts it. start() reads and sets up the configuration and starts the session.

Some pointers to important showcase classes:

Version:
1.0
Author:
Thomas Wolf, sd&m AG, Martin Haft, sd&m AG, Bernd Olleck, sd&m AG

Constructor Summary
SwingShowcaseApplication()
          Constructur, defines the application id.
 
Method Summary
static void main(java.lang.String[] args)
          Creates the application instance using DefaultSwingApplicationCreator#createApplication(Class) and starts it.
 void start()
          Starts the application (see AbstractApplication.start()).
 void stop()
          This implementation disposed the application components in the following order if the corresponding component implements Disposable.
 
Methods inherited from class com.sdm.quasar.client.swing.application.AbstractSwingApplication
attemptToDisplayErrorMessage, createSessionInEDT, getApplicationConfiguration, getErrorMessageForThrowable, initializeErrorHandler
 
Methods inherited from class com.sdm.quasar.client.core.application.AbstractApplication
collectSystemInfo, extendDestructionException, getApplicationID, getConfigManager, getServiceManager, getSessionManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingShowcaseApplication

public SwingShowcaseApplication()
Constructur, defines the application id.

Method Detail

start

public void start()
Starts the application (see AbstractApplication.start()). In particular, the look and feel for swing is set, the application configuration is read, The single session is created and the first portal opened.

Specified by:
start in interface Application
Overrides:
start in class AbstractApplication

stop

public void stop()
Description copied from class: AbstractApplication
This implementation disposed the application components in the following order if the corresponding component implements Disposable. Otherwise the component is skipped.

Specified by:
stop in interface Application
Overrides:
stop in class AbstractApplication
See Also:
for further information

main

public static void main(java.lang.String[] args)
Creates the application instance using DefaultSwingApplicationCreator#createApplication(Class) and starts it.

Parameters:
args - the command line arguments - they are ignored