Class StartupProgress

java.lang.Object
net.sf.colossus.server.StartupProgress
All Implemented Interfaces:
ActionListener, EventListener

public final class StartupProgress extends Object implements ActionListener
Simple log window for Startup progress (waiting for clients)
Author:
Clemens Katzer
  • Field Details

    • 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:
    • logFrame

      private KFrame logFrame
    • text

      private final TextArea text
    • pane

      private final Container pane
    • server

      private Server server
    • b

      private JButton b
    • autoCloseCheckBox

      private final JCheckBox autoCloseCheckBox
    • showUpTimer

      private final Timer showUpTimer
  • Constructor Details

    • StartupProgress

      public StartupProgress(Server server)
  • Method Details

    • append

      public void append(String s)
    • getFrame

      public 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(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • tooOldClient

      public void tooOldClient(String clientName)