/** Creates new form ShowGameTablePanel */
  public ObserverFrame(final MainFrame mainFrame) {

    setTitle("Observer - " + mainFrame.getTitle());
    setDefaultCloseOperation(DISPOSE_ON_CLOSE);

    this.mainFrame = mainFrame;

    this.time = mainFrame.getCountingWatchTime();
    this.decrement = mainFrame.getCountingWatchDecrement();

    initComponents();

    setSize(new Dimension(800, 600));

    ComponentUtilities.centerComponentOnScreen(this);

    addWindowListener(
        new WindowAdapter() {

          public void windowClosed(WindowEvent e) {
            mainFrame.setObserverCheckBox(false);
          }
        });
  }
 public void renewCountingWatch() {
   countingWatchP.setTime(mainFrame.getCountingWatchTime());
   countingWatchP.repaint();
 }