public abstract class Main extends Object implements ShutdownHandler, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected JFrame |
errorWindow |
protected boolean |
isRegularShutdown |
protected org.seamless.swing.logging.LoggingHandler |
loggingHandler |
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getAppName() |
void |
init() |
protected void |
removeLoggingHandler() |
void |
shutdown() |
void |
uncaughtException(Thread thread,
Throwable throwable) |
protected final JFrame errorWindow
protected final org.seamless.swing.logging.LoggingHandler loggingHandler
protected boolean isRegularShutdown
public void init()
public void shutdown()
shutdown
in interface ShutdownHandler
public void uncaughtException(Thread thread, Throwable throwable)
uncaughtException
in interface Thread.UncaughtExceptionHandler
protected void removeLoggingHandler()
protected abstract String getAppName()
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.