net.simplace.util.FWApplication
Abstract base-class for applications.
public abstract class FWApplication {
// Public Constructors
public FWApplication();
// Class Methods public static ClassLoader getInstanceClassLoader();
This method has to be implemented as a workaround for the known problem with webstart, that
the class loader is set to null, if the console is deactivated.
returns this class' class loader
public static void requestShutdown();
Exits application if user confirms shutdown.
public static void shutdown();
Exits application.
public static
FWMainFrame getMainFrame();
Returns the main application window.
returns main Frame
// Public Instance Methods public abstract void performMain();
method that has to be implemented by real application. This is called while starting application
for initializing applicationspecific things. While implementing make shure to call
'performDefaultMainAcions'
public void
performDefaultMainActions(String aSoftwareType, String
aConfigurationLayoutProvider, boolean aStartApplication);
- aSoftwareType
- aConfigurationLayoutProvider
- aStartApplication
has to be called in performMain Method of implementation
// Protected Instance Methods protected void fixWebStartClassLoaderIssue();
This method is a fix for a Webstart bug - see:
http://forum.java.sun.com/thread.jspa?forumID=38&threadID=301640
}