@SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">
    private void initComponents() {

        matchLabel = new javax.swing.JLabel();
        newTournButton = new javax.swing.JButton();
        addPlayerButton = new javax.swing.JButton();
        addWorldButton = new javax.swing.JButton();
        beginTournamentButton = new javax.swing.JButton();
        worldLabel = new javax.swing.JLabel();
        redBrainLabel = new javax.swing.JLabel();
        blackBrainLabel = new javax.swing.JLabel();
        blackAntLabel = new javax.swing.JLabel();
        redAntLabel = new javax.swing.JLabel();
        redFoodLabel = new javax.swing.JLabel();
        blackFoodLabel = new javax.swing.JLabel();
        chooseWorld = new javax.swing.JFileChooser();
        chooseBrain = new javax.swing.JFileChooser();
        numBrainsLabel = new javax.swing.JLabel();
        winner = new javax.swing.JLabel();


        newTournButton.setText("New Tournament");
        newTournButton.addActionListener(new java.awt.event.ActionListener() {

            public void actionPerformed(java.awt.event.ActionEvent evt) {
                newTournButtonActionPerformed(evt);
            }
        });

        addPlayerButton.setText("Add Competitor");
        addPlayerButton.addActionListener(new java.awt.event.ActionListener() {

            public void actionPerformed(java.awt.event.ActionEvent evt) {
                addPlayerButtonActionPerformed(evt);
            }
        });

        addWorldButton.setText("Add World");
        addWorldButton.addActionListener(new java.awt.event.ActionListener() {

            public void actionPerformed(java.awt.event.ActionEvent evt) {
                addWorldButtonActionPerformed(evt);
            }
        });

        beginTournamentButton.setText("Begin Tournament");
        beginTournamentButton.addActionListener(new java.awt.event.ActionListener() {

            public void actionPerformed(java.awt.event.ActionEvent evt) {
                beginTournamentButtonActionPerformed(evt);
            }
        });

        chooseWorld.addActionListener(new java.awt.event.ActionListener() {

            public void actionPerformed(java.awt.event.ActionEvent evt) {
                try {
                    chooseWorldActionPerformed(evt);
                } catch (Exception ex) {
                    Logger.getLogger(HexGrid.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        });

        chooseBrain.addActionListener(new java.awt.event.ActionListener() {

            public void actionPerformed(java.awt.event.ActionEvent evt) {
                try {
                    chooseBrainActionPerformed(evt);
                } catch (Exception ex) {
                    Logger.getLogger(HexGrid.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        });

        matchLabel.setText("Match " + match + " of " + totalMatches);
        worldLabel.setText("World ");
        redBrainLabel.setText("Red Brain: ");
        blackBrainLabel.setText("Black Brain: ");
        blackAntLabel.setText("Black Ants: ");
        redAntLabel.setText("Red Ants: ");
        redFoodLabel.setText("Red Food: ");
        blackFoodLabel.setText("Black Food: ");
        numBrainsLabel.setText("Number of Brains(2 Minimum): ");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(controlFrame.getContentPane());
        controlFrame.getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(layout.createSequentialGroup().addGap(21, 21, 21).addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(addWorldButton).addComponent(redFoodLabel).addComponent(redAntLabel).addComponent(blackAntLabel).addComponent(redBrainLabel).addComponent(worldLabel).addComponent(matchLabel).addComponent(beginTournamentButton).addComponent(numBrainsLabel).addComponent(blackBrainLabel).addComponent(blackFoodLabel).addComponent(newTournButton).addComponent(addPlayerButton).addComponent(winner)).addGap(18, 18, 18).addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
        layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap().addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(layout.createSequentialGroup().addComponent(newTournButton).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(addPlayerButton).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(addWorldButton).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(beginTournamentButton).addGap(18, 18, 18).addComponent(matchLabel).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(worldLabel).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(numBrainsLabel).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(blackBrainLabel).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(redBrainLabel).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(blackAntLabel).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(redAntLabel).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(blackFoodLabel).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(redFoodLabel).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(winner))).addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
        controlFrame.pack();
    }// </editor-fold>