net.sf.colossus.server
Class StartupProgress
java.lang.Object
net.sf.colossus.server.StartupProgress
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
public final class StartupProgress
- extends java.lang.Object
- implements java.awt.event.ActionListener
Simple log window for Startup progress (waiting for clients)
- Author:
- Clemens Katzer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHOWUP_DELAY
private static final int SHOWUP_DELAY
- The time the window takes to show itself.
This is a number of milliseconds to wait before showing the window in this
class is shown. This means that in local games where everyone is there straight
away the window will never be visible.
- See Also:
- Constant Field Values
logFrame
private KFrame logFrame
text
private final java.awt.TextArea text
pane
private final java.awt.Container pane
server
private Server server
b
private javax.swing.JButton b
autoCloseCheckBox
private final javax.swing.JCheckBox autoCloseCheckBox
showUpTimer
private final javax.swing.Timer showUpTimer
StartupProgress
public StartupProgress(Server server)
append
public void append(java.lang.String s)
getFrame
public javax.swing.JFrame getFrame()
disableAutoClose
public void disableAutoClose()
- Server startup calls this so that possible warning message
can be noticed.
setCompleted
public void setCompleted()
dispose
public void dispose()
cleanRef
public void cleanRef()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener