@Override
 public void initialize() {
   frame = new JFrame();
   setLabelName();
   resignPanel = new ResignPanel();
   resignPanel.setResignLabelName(getLabelName());
 }
  @Override
  public void addListeners() {
    resignPanel.addResignActionListener(
        new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            doResign();
          }
        });

    resignPanel.addNoResignActionListener(
        new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            closeFrame();
          }
        });
  }