private void populateTournamentActive() {

    lblTitle.setText(
        "Quest Mode: Draft Tournament - "
            + FModel.getQuest().getAchievements().getCurrentDraft().getTitle());
    VHomeUI.SINGLETON_INSTANCE
        .getPnlDisplay()
        .setLayout(new MigLayout("insets 0, gap 0, ax center, wrap 1"));
    VHomeUI.SINGLETON_INSTANCE
        .getPnlDisplay()
        .add(lblTitle, "w 80%!, h 40px!, gap 20% 0 15px 10px, ax right, span 2");

    FScrollPanel panel =
        new FScrollPanel(
            new MigLayout("insets 0, gap 0, wrap 4, ax center"),
            true,
            ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
            ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);

    String constraintsLeft = "w 350px!, h 196px!, gap 0px 0px 0px 0px, ay center";
    String constraintsMiddle = "w 350px!, h 392px!, gap 0px 0px 0px 0px, ay center";
    String constraintsRight = "w 350px!, h 784px!, gap 0px 0px 0px 0px, ay center";

    panel.add(matchups[0], constraintsLeft);
    panel.add(matchups[4], constraintsMiddle + ", span 1 2");
    panel.add(matchups[6], constraintsRight + ", span 1 4");
    panel.add(matchups[7], constraintsRight + ", span 1 4");
    panel.add(matchups[1], constraintsLeft);
    panel.add(matchups[2], constraintsLeft);
    panel.add(matchups[5], constraintsMiddle + ", span 1 2");
    panel.add(matchups[3], constraintsLeft);

    VHomeUI.SINGLETON_INSTANCE.getPnlDisplay().add(panel, "gap 0 0 0 0, ax center");

    btnEditDeck.setFontSize(12);

    JPanel bottomButtons = new JPanel(new MigLayout("insets 0, gap 0, wrap 2, ax center"));

    if (FModel.getQuest().getAchievements().getCurrentDraft().playerHasMatchesLeft()) {

      VHomeUI.SINGLETON_INSTANCE.getPnlDisplay().add(btnStartMatch, "gap 0 0 0 20px, ax center");
      bottomButtons.add(btnEditDeck, "w 135px!, h 25px!, gap 0 25px 10px 10px, ax right");
      bottomButtons.add(btnLeaveTournament, "w 135px!, h 25px!, gap 25px 0 10px 10px, ax right");
      btnLeaveTournament.setFontSize(12);

    } else {

      VHomeUI.SINGLETON_INSTANCE
          .getPnlDisplay()
          .add(btnLeaveTournament, "w 250px!, h 60px!, gap 0 0 20px 20px, ax center");
      bottomButtons.add(btnEditDeck, "w 135px!, h 25px!, gap 0 25px 10px 10px, ax right");
      bottomButtons.add(btnStartMatchSmall, "w 135px!, h 25px!, gap 25px 0 10px 10px, ax right");
      btnLeaveTournament.setFontSize(24);
    }

    VHomeUI.SINGLETON_INSTANCE.getPnlDisplay().add(bottomButtons, "w 100%!");
    bottomButtons.setOpaque(false);
  }
 private void populateSelectTournament() {
   VHomeUI.SINGLETON_INSTANCE
       .getPnlDisplay()
       .setLayout(new MigLayout("insets 0, gap 0, ax right, wrap 2"));
   VHomeUI.SINGLETON_INSTANCE
       .getPnlDisplay()
       .add(lblTitle, "w 80%!, h 40px!, gap 0 0 15px 35px, ax right, span 2");
   VHomeUI.SINGLETON_INSTANCE.getPnlDisplay().add(lblCredits, "h 25px!, gap 0 0 30px, span 2");
   VHomeUI.SINGLETON_INSTANCE.getPnlDisplay().add(lblInfo, "h 30px!, gap 0 0 5px, span 2");
   VHomeUI.SINGLETON_INSTANCE.getPnlDisplay().add(pnlTournaments, "w 88% - 200px!, pushy, growy");
   VHomeUI.SINGLETON_INSTANCE
       .getPnlDisplay()
       .add(pnlStats, "w 185px!, pushy, growy, gap 4% 4% 0 0");
   VHomeUI.SINGLETON_INSTANCE
       .getPnlDisplay()
       .add(btnStartDraft, "gap 0 6% 30px 30px, ax center, span 2");
 }
  @Override
  public void populate() {

    VHomeUI.SINGLETON_INSTANCE.getPnlDisplay().removeAll();

    switch (mode) {
      case SELECT_TOURNAMENT:
        populateSelectTournament();
        break;
      case PREPARE_DECK:
        populatePrepareDeck();
        break;
      case TOURNAMENT_ACTIVE:
        populateTournamentActive();
        break;
      case EMPTY:
      default:
        VHomeUI.SINGLETON_INSTANCE
            .getPnlDisplay()
            .setLayout(new MigLayout("insets 0, gap 0, ax right, wrap 2"));
        VHomeUI.SINGLETON_INSTANCE
            .getPnlDisplay()
            .add(lblTitle, "w 80%!, h 40px!, gap 0 0 15px 35px, ax right, span 2");
        VHomeUI.SINGLETON_INSTANCE.getPnlDisplay().add(lblNoDrafts, "h 30px!, gap 0 0 5px, span 2");
        VHomeUI.SINGLETON_INSTANCE
            .getPnlDisplay()
            .add(pnlTournaments, "w 88% - 200px!, pushy, growy");
        VHomeUI.SINGLETON_INSTANCE
            .getPnlDisplay()
            .add(pnlStats, "w 185px!, pushy, growy, gap 4% 4% 0 0");
        break;
    }

    VHomeUI.SINGLETON_INSTANCE.getPnlDisplay().repaintSelf();
    VHomeUI.SINGLETON_INSTANCE.getPnlDisplay().revalidate();
  }
 private void populatePrepareDeck() {
   lblTitle.setText(
       "Quest Mode: Draft Tournament - "
           + FModel.getQuest().getAchievements().getCurrentDraft().getTitle());
   VHomeUI.SINGLETON_INSTANCE
       .getPnlDisplay()
       .setLayout(new MigLayout("insets 0, gap 0, ax center, wrap", "", "[][grow, center][][][]"));
   VHomeUI.SINGLETON_INSTANCE
       .getPnlDisplay()
       .add(lblTitle, "w 80%!, h 40px!, gap 20% 0 15px 35px, ax right");
   pnlDeckImage.setMaximumSize(new Dimension(680, 475));
   VHomeUI.SINGLETON_INSTANCE.getPnlDisplay().add(pnlDeckImage, "ax center, grow");
   VHomeUI.SINGLETON_INSTANCE
       .getPnlDisplay()
       .add(btnEditDeck, "w 150px, h 50px, gap 0 0 15px 0, ax center");
   VHomeUI.SINGLETON_INSTANCE.getPnlDisplay().add(btnStartTournament, "gap 0 0 0 15px, ax center");
   VHomeUI.SINGLETON_INSTANCE
       .getPnlDisplay()
       .add(btnLeaveTournament, "w 150px, h 35px, gap 0 0 25px 10%, ax center");
   btnEditDeck.setFontSize(24);
   btnLeaveTournament.setFontSize(12);
 }