package calculatorea;

import java.awt.Dimension;
import java.awt.Toolkit;
import java.util.List;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;

public class Tudinho extends javax.swing.JFrame {

    int kpadd1 = 0;
    int kpadd2 = 0;
    int kpadd3 = 0;

    public Tudinho() {
        try {
            try {
                UIManager.setLookAndFeel("com.jtattoo.plaf.hifi.HiFiLookAndFeel");
            } catch (ClassNotFoundException ex) {
                Logger.getLogger(Tudinho.class.getName()).log(Level.SEVERE, null, ex);
            } catch (InstantiationException ex) {
                Logger.getLogger(Tudinho.class.getName()).log(Level.SEVERE, null, ex);
            } catch (IllegalAccessException ex) {
                Logger.getLogger(Tudinho.class.getName()).log(Level.SEVERE, null, ex);
            }
            SwingUtilities.updateComponentTreeUI(this);
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        initComponents();

        NTOP2.setVisible(false);
        VTOP2.setVisible(false);
        ATOP2.setVisible(false);
        MTOP2.setVisible(false);
        NMID2.setVisible(false);
        VMID2.setVisible(false);
        AMID2.setVisible(false);
        MMID2.setVisible(false);
        NBOT2.setVisible(false);
        VBOT2.setVisible(false);
        ABOT2.setVisible(false);
        MBOT2.setVisible(false);
        Typibility4.setVisible(false);
        Typibility5.setVisible(false);
        Typibility6.setVisible(false);
        jLabel6.setVisible(false);
        jLabel7.setVisible(false);
        jLabel8.setVisible(false);
        ckbTOP1.setVisible(false);
        ckbTOP2.setVisible(false);
        ckbMID1.setVisible(false);
        ckbMID2.setVisible(false);
        ckbBOT1.setVisible(false);
        ckbBOT2.setVisible(false);
        ALLTOP1.setVisible(false);
        ALLTOP2.setVisible(false);
        ALLMID1.setVisible(false);
        ALLMID2.setVisible(false);
        ALLBOT1.setVisible(false);
        ALLBOT2.setVisible(false);
        cbx1DTTOP1.setVisible(false);
        cbx2DTTOP1.setVisible(false);
        LBL18.setVisible(false);
        txtDTTOP1.setVisible(false);
        cbx1DTMID1.setVisible(false);
        cbx2DTMID1.setVisible(false);
        LBL19.setVisible(false);
        txtDTMID1.setVisible(false);
        cbx1DTBOT1.setVisible(false);
        cbx2DTBOT1.setVisible(false);
        LBL20.setVisible(false);
        txtDTBOT1.setVisible(false);
        cbx1DTTOP2.setVisible(false);
        cbx2DTTOP2.setVisible(false);
        LBL21.setVisible(false);
        txtDTTOP2.setVisible(false);
        cbx1DTMID2.setVisible(false);
        cbx2DTMID2.setVisible(false);
        LBL22.setVisible(false);
        txtDTMID2.setVisible(false);
        cbx1DTBOT2.setVisible(false);
        cbx2DTBOT2.setVisible(false);
        LBL23.setVisible(false);
        txtDTBOT2.setVisible(false);
        MPTOP1.setVisible(false);
        MPTOP2.setVisible(false);
        MPMID1.setVisible(false);
        MPMID2.setVisible(false);
        MPBOT1.setVisible(false);
        MPBOT2.setVisible(false);
        MTOP2.setVisible(false);
        MMID2.setVisible(false);
        MBOT2.setVisible(false);
        txtMPTOP1.setVisible(false);
        lblTXTTOP1.setVisible(false);
        txtMPTOP2.setVisible(false);
        lblTXTTOP2.setVisible(false);
        txtMPMID1.setVisible(false);
        lblTXTMID1.setVisible(false);
        txtMPMID2.setVisible(false);
        lblTXTMID2.setVisible(false);
        txtMPBOT1.setVisible(false);
        lblTXTBOT1.setVisible(false);
        txtMPBOT2.setVisible(false);
        lblTXTBOT2.setVisible(false);
        lblopp.setVisible(false);
        txtoppstr.setVisible(false);
        centralizarComponente();

    }

    public void centralizarComponente() {
        Dimension ds = Toolkit.getDefaultToolkit().getScreenSize();
        Dimension dw = getSize();
        setLocation((ds.width - dw.width) / 2, (ds.height - dw.height) / 2);
    }

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

        btnCalc = new javax.swing.JButton();
        NTOP1 = new javax.swing.JTextField();
        ADDTOP = new javax.swing.JButton();
        VTOP1 = new javax.swing.JTextField();
        NTOP2 = new javax.swing.JTextField();
        VTOP2 = new javax.swing.JTextField();
        ATOP1 = new javax.swing.JComboBox();
        ATOP2 = new javax.swing.JComboBox();
        NMID1 = new javax.swing.JTextField();
        ADDMID = new javax.swing.JButton();
        VMID1 = new javax.swing.JTextField();
        NMID2 = new javax.swing.JTextField();
        VMID2 = new javax.swing.JTextField();
        AMID1 = new javax.swing.JComboBox();
        AMID2 = new javax.swing.JComboBox();
        NBOT1 = new javax.swing.JTextField();
        ADDBOT = new javax.swing.JButton();
        VBOT1 = new javax.swing.JTextField();
        NBOT2 = new javax.swing.JTextField();
        VBOT2 = new javax.swing.JTextField();
        ABOT1 = new javax.swing.JComboBox();
        ABOT2 = new javax.swing.JComboBox();
        DTOP1 = new javax.swing.JComboBox();
        DTOP2 = new javax.swing.JComboBox();
        DTOP3 = new javax.swing.JComboBox();
        DMID1 = new javax.swing.JComboBox();
        DMID2 = new javax.swing.JComboBox();
        DMID3 = new javax.swing.JComboBox();
        DBOT1 = new javax.swing.JComboBox();
        DBOT2 = new javax.swing.JComboBox();
        DBOT3 = new javax.swing.JComboBox();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        NHITS = new javax.swing.JTextField();
        NHIT1 = new javax.swing.JTextField();
        NHIT2 = new javax.swing.JTextField();
        jLabel12 = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        NHIT3 = new javax.swing.JTextField();
        DROLL1 = new javax.swing.JComboBox();
        DROLL2 = new javax.swing.JComboBox();
        DROLL3 = new javax.swing.JComboBox();
        DROLL4 = new javax.swing.JComboBox();
        DROLL5 = new javax.swing.JComboBox();
        DROLL6 = new javax.swing.JComboBox();
        jLabel16 = new javax.swing.JLabel();
        RMVTOP = new javax.swing.JButton();
        RMVMID = new javax.swing.JButton();
        RMVBOT = new javax.swing.JButton();
        Typibility1 = new javax.swing.JComboBox();
        Typibility2 = new javax.swing.JComboBox();
        Typibility3 = new javax.swing.JComboBox();
        Typibility4 = new javax.swing.JComboBox();
        Typibility5 = new javax.swing.JComboBox();
        Typibility6 = new javax.swing.JComboBox();
        jRadioButton1 = new javax.swing.JRadioButton();
        jRadioButton2 = new javax.swing.JRadioButton();
        jLabel17 = new javax.swing.JLabel();
        txtstr = new javax.swing.JTextField();
        MTOP1 = new javax.swing.JComboBox();
        MMID1 = new javax.swing.JComboBox();
        MBOT1 = new javax.swing.JComboBox();
        MTOP2 = new javax.swing.JComboBox();
        MMID2 = new javax.swing.JComboBox();
        MBOT2 = new javax.swing.JComboBox();
        MPTOP1 = new javax.swing.JComboBox();
        MPMID1 = new javax.swing.JComboBox();
        MPBOT1 = new javax.swing.JComboBox();
        MPTOP2 = new javax.swing.JComboBox();
        MPMID2 = new javax.swing.JComboBox();
        MPBOT2 = new javax.swing.JComboBox();
        txtMPTOP1 = new javax.swing.JTextField();
        lblTXTTOP1 = new javax.swing.JLabel();
        lblTXTMID1 = new javax.swing.JLabel();
        txtMPMID1 = new javax.swing.JTextField();
        lblTXTBOT1 = new javax.swing.JLabel();
        txtMPBOT1 = new javax.swing.JTextField();
        lblTXTTOP2 = new javax.swing.JLabel();
        txtMPTOP2 = new javax.swing.JTextField();
        lblTXTMID2 = new javax.swing.JLabel();
        txtMPMID2 = new javax.swing.JTextField();
        lblTXTBOT2 = new javax.swing.JLabel();
        txtMPBOT2 = new javax.swing.JTextField();
        ALLTOP1 = new javax.swing.JCheckBox();
        ALLMID1 = new javax.swing.JCheckBox();
        ALLBOT1 = new javax.swing.JCheckBox();
        ALLBOT2 = new javax.swing.JCheckBox();
        ALLMID2 = new javax.swing.JCheckBox();
        ALLTOP2 = new javax.swing.JCheckBox();
        ckbTOP1 = new javax.swing.JComboBox();
        ckbTOP2 = new javax.swing.JComboBox();
        ckbMID1 = new javax.swing.JComboBox();
        ckbMID2 = new javax.swing.JComboBox();
        ckbBOT1 = new javax.swing.JComboBox();
        ckbBOT2 = new javax.swing.JComboBox();
        txtDTTOP1 = new javax.swing.JTextField();
        cbx1DTTOP1 = new javax.swing.JComboBox();
        LBL18 = new javax.swing.JLabel();
        cbx2DTTOP1 = new javax.swing.JComboBox();
        cbx1DTMID1 = new javax.swing.JComboBox();
        LBL19 = new javax.swing.JLabel();
        txtDTMID1 = new javax.swing.JTextField();
        cbx2DTMID1 = new javax.swing.JComboBox();
        cbx1DTBOT1 = new javax.swing.JComboBox();
        LBL20 = new javax.swing.JLabel();
        txtDTBOT1 = new javax.swing.JTextField();
        cbx2DTBOT1 = new javax.swing.JComboBox();
        cbx1DTTOP2 = new javax.swing.JComboBox();
        LBL21 = new javax.swing.JLabel();
        txtDTTOP2 = new javax.swing.JTextField();
        cbx2DTTOP2 = new javax.swing.JComboBox();
        cbx1DTMID2 = new javax.swing.JComboBox();
        LBL22 = new javax.swing.JLabel();
        txtDTMID2 = new javax.swing.JTextField();
        cbx2DTMID2 = new javax.swing.JComboBox();
        cbx1DTBOT2 = new javax.swing.JComboBox();
        LBL23 = new javax.swing.JLabel();
        txtDTBOT2 = new javax.swing.JTextField();
        cbx2DTBOT2 = new javax.swing.JComboBox();
        NHITS1 = new javax.swing.JTextField();
        jLabel24 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        lblopp = new javax.swing.JLabel();
        txtoppstr = new javax.swing.JTextField();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setResizable(false);

        btnCalc.setText("CALCULE");
        btnCalc.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCalcActionPerformed(evt);
            }
        });

        NTOP1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                NTOP1KeyTyped(evt);
            }
        });

        ADDTOP.setText("+");
        ADDTOP.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ADDTOPActionPerformed(evt);
            }
        });

        VTOP1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                VTOP1KeyTyped(evt);
            }
        });

        NTOP2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                NTOP2KeyTyped(evt);
            }
        });

        VTOP2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                VTOP2KeyTyped(evt);
            }
        });

        ATOP1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Hit", "Fireball", "Heal", "Shield", "Lightning", "Backstab", "Shock", "Life Drain", "Strenght Drain", "Shield Bash", "Smite", "Spellbreaker", "Physical Attack", "Scarab", "Critical", "Dodge", "Purify", "Strenght x", "Strenght =", "Strenght +", "Strenght -", "DMG +", "Blessing", "Resilience", "Mimic", "Rage", "Berserk", "Thorn", "Riposte", "Eclipse", "opp Powder", "opp DMG -", "opp Strenght -", "opp Strenght +", "opp Strenght =", "opp Strenght /", "Inspire", "Rune", "Ice", "Bulwark", "Death Stare", "Terror", "opp Thunderstruck", "Stench", "Frostbite", "Dice Trigger", "opp Dice Trigger" }));
        ATOP1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ATOP1ActionPerformed(evt);
            }
        });

        ATOP2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Hit", "Fireball", "Heal", "Shield", "Lightning", "Backstab", "Shock", "Life Drain", "Strenght Drain", "Shield Bash", "Smite", "Spellbreaker", "Physical Attack", "Scarab", "Critical", "Dodge", "Purify", "Strenght x", "Strenght =", "Strenght +", "Strenght -", "DMG +", "Blessing", "Resilience", "Mimic", "Rage", "Berserk", "Thorn", "Riposte", "Eclipse", "opp Powder", "opp DMG -", "opp Strenght -", "opp Strenght +", "opp Strenght =", "opp Strenght /", "Inspire", "Rune", "Ice", "Bulwark", "Death Stare", "Terror", "opp Thunderstruck", "Stench", "Frostbite", "Dice Trigger", "opp Dice Trigger" }));
        ATOP2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ATOP2ActionPerformed(evt);
            }
        });

        NMID1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                NMID1KeyTyped(evt);
            }
        });

        ADDMID.setText("+");
        ADDMID.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ADDMIDActionPerformed(evt);
            }
        });

        VMID1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                VMID1KeyTyped(evt);
            }
        });

        NMID2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                NMID2KeyTyped(evt);
            }
        });

        VMID2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                VMID2KeyTyped(evt);
            }
        });

        AMID1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Hit", "Fireball", "Heal", "Shield", "Lightning", "Backstab", "Shock", "Life Drain", "Strenght Drain", "Shield Bash", "Smite", "Spellbreaker", "Physical Attack", "Scarab", "Critical", "Dodge", "Purify", "Strenght x", "Strenght =", "Strenght +", "Strenght -", "DMG +", "Blessing", "Resilience", "Mimic", "Rage", "Berserk", "Thorn", "Riposte", "Eclipse", "opp Powder", "opp DMG -", "opp Strenght -", "opp Strenght +", "opp Strenght =", "opp Strenght /", "Inspire", "Rune", "Ice", "Bulwark", "Death Stare", "Terror", "opp Thunderstruck", "Stench", "Frostbite", "Dice Trigger", "opp Dice Trigger" }));
        AMID1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                AMID1ActionPerformed(evt);
            }
        });

        AMID2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Hit", "Fireball", "Heal", "Shield", "Lightning", "Backstab", "Shock", "Life Drain", "Strenght Drain", "Shield Bash", "Smite", "Spellbreaker", "Physical Attack", "Scarab", "Critical", "Dodge", "Purify", "Strenght x", "Strenght =", "Strenght +", "Strenght -", "DMG +", "Blessing", "Resilience", "Mimic", "Rage", "Berserk", "Thorn", "Riposte", "Eclipse", "opp Powder", "opp DMG -", "opp Strenght -", "opp Strenght +", "opp Strenght =", "opp Strenght /", "Inspire", "Rune", "Ice", "Bulwark", "Death Stare", "Terror", "opp Thunderstruck", "Stench", "Frostbite", "Dice Trigger", "opp Dice Trigger" }));
        AMID2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                AMID2ActionPerformed(evt);
            }
        });

        NBOT1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                NBOT1KeyTyped(evt);
            }
        });

        ADDBOT.setText("+");
        ADDBOT.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ADDBOTActionPerformed(evt);
            }
        });

        VBOT1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                VBOT1KeyTyped(evt);
            }
        });

        NBOT2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                NBOT2KeyTyped(evt);
            }
        });

        VBOT2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                VBOT2KeyTyped(evt);
            }
        });

        ABOT1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Hit", "Fireball", "Heal", "Shield", "Lightning", "Backstab", "Shock", "Life Drain", "Strenght Drain", "Shield Bash", "Smite", "Spellbreaker", "Physical Attack", "Scarab", "Critical", "Dodge", "Purify", "Strenght x", "Strenght =", "Strenght +", "Strenght -", "DMG +", "Blessing", "Resilience", "Mimic", "Rage", "Berserk", "Thorn", "Riposte", "Eclipse", "opp Powder", "opp DMG -", "opp Strenght -", "opp Strenght +", "opp Strenght =", "opp Strenght /", "Inspire", "Rune", "Ice", "Bulwark", "Death Stare", "Terror", "opp Thunderstruck", "Stench", "Frostbite", "Dice Trigger", "opp Dice Trigger" }));
        ABOT1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ABOT1ActionPerformed(evt);
            }
        });

        ABOT2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Hit", "Fireball", "Heal", "Shield", "Lightning", "Backstab", "Shock", "Life Drain", "Strenght Drain", "Shield Bash", "Smite", "Spellbreaker", "Physical Attack", "Scarab", "Critical", "Dodge", "Purify", "Strenght x", "Strenght =", "Strenght +", "Strenght -", "DMG +", "Blessing", "Resilience", "Mimic", "Rage", "Berserk", "Thorn", "Riposte", "Eclipse", "opp Powder", "opp DMG -", "opp Strenght -", "opp Strenght +", "opp Strenght =", "opp Strenght /", "Inspire", "Rune", "Ice", "Bulwark", "Death Stare", "Terror", "opp Thunderstruck", "Stench", "Frostbite", "Dice Trigger", "opp Dice Trigger" }));
        ABOT2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ABOT2ActionPerformed(evt);
            }
        });

        DTOP1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Blue", "Red", "Yellow", "Sword" }));

        DTOP2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Blue", "Red", "Yellow", "Sword" }));

        DTOP3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Blue", "Red", "Yellow", "Sword" }));

        DMID1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Blue", "Red", "Yellow", "Sword" }));

        DMID2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Blue", "Red", "Yellow", "Sword" }));

        DMID3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Blue", "Red", "Yellow", "Sword" }));

        DBOT1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Blue", "Red", "Yellow", "Sword" }));

        DBOT2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Blue", "Red", "Yellow", "Sword" }));

        DBOT3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Blue", "Red", "Yellow", "Sword" }));

        jLabel1.setText("Dices");

        jLabel2.setText("Nº of");

        jLabel3.setText("Ability");

        jLabel4.setText("[VALUE]");

        jLabel5.setText("More 1 Ability?");

        jLabel6.setText("Ability");

        jLabel7.setText("Nº of");

        jLabel8.setText("[VALUE]");

        jLabel9.setText("3rd");

        jLabel10.setText("2nd");

        jLabel11.setText("1st");

        NHITS.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                NHITSKeyTyped(evt);
            }
        });

        NHIT1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                NHIT1KeyTyped(evt);
            }
        });

        NHIT2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                NHIT2KeyTyped(evt);
            }
        });

        jLabel12.setText("Nº of hits suffered after the second ability");

        jLabel13.setText("Nº of hits suffered after the third ability");

        jLabel14.setText("Nº of hits suffered after the first ability");

        jLabel15.setText("Nº of third opp ability activates");

        NHIT3.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                NHIT3KeyTyped(evt);
            }
        });

        DROLL1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        DROLL2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        DROLL3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        DROLL4.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        DROLL5.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        DROLL6.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        jLabel16.setText(" Less 1 Ability?");

        RMVTOP.setText("-");
        RMVTOP.setMaximumSize(new java.awt.Dimension(41, 23));
        RMVTOP.setMinimumSize(new java.awt.Dimension(41, 23));
        RMVTOP.setPreferredSize(new java.awt.Dimension(41, 23));
        RMVTOP.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                RMVTOPActionPerformed(evt);
            }
        });

        RMVMID.setText("-");
        RMVMID.setMaximumSize(new java.awt.Dimension(41, 23));
        RMVMID.setMinimumSize(new java.awt.Dimension(41, 23));
        RMVMID.setPreferredSize(new java.awt.Dimension(41, 23));
        RMVMID.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                RMVMIDActionPerformed(evt);
            }
        });

        RMVBOT.setText("-");
        RMVBOT.setMaximumSize(new java.awt.Dimension(41, 23));
        RMVBOT.setMinimumSize(new java.awt.Dimension(41, 23));
        RMVBOT.setPreferredSize(new java.awt.Dimension(41, 23));
        RMVBOT.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                RMVBOTActionPerformed(evt);
            }
        });

        Typibility1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Noble", "Runic", "Icy", "Time" }));

        Typibility2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Noble", "Runic", "Icy", "Time" }));

        Typibility3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Noble", "Runic", "Icy", "Time" }));

        Typibility4.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Noble", "Runic", "Icy", "Time" }));

        Typibility5.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Noble", "Runic", "Icy", "Time" }));

        Typibility6.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "Noble", "Runic", "Icy", "Time" }));

        jRadioButton1.setSelected(true);
        jRadioButton1.setText("Attacker");
        jRadioButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButton1ActionPerformed(evt);
            }
        });

        jRadioButton2.setText("Defender");
        jRadioButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButton2ActionPerformed(evt);
            }
        });

        jLabel17.setText("Strenght");

        MTOP1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "more vs", "if attacker", "if defender", "more per", "xStrenght", "xBlue", "xRed", "xYellow", "xSword", "xoppBlue", "xoppRed", "xoppYellow", "xoppSword", "-oppStrenght" }));
        MTOP1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MTOP1ActionPerformed(evt);
            }
        });

        MMID1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "more vs", "if attacker", "if defender", "more per", "xStrenght", "xBlue", "xRed", "xYellow", "xSword", "xoppBlue", "xoppRed", "xoppYellow", "xoppSword", "-oppStrenght" }));
        MMID1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MMID1ActionPerformed(evt);
            }
        });

        MBOT1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "more vs", "if attacker", "if defender", "more per", "xStrenght", "xBlue", "xRed", "xYellow", "xSword", "xoppBlue", "xoppRed", "xoppYellow", "xoppSword", "-oppStrenght" }));
        MBOT1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MBOT1ActionPerformed(evt);
            }
        });

        MTOP2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "more vs", "if attacker", "if defender", "more per", "xStrenght", "xBlue", "xRed", "xYellow", "xSword", "xoppBlue", "xoppRed", "xoppYellow", "xoppSword", "-oppStrenght" }));
        MTOP2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MTOP2ActionPerformed(evt);
            }
        });

        MMID2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "more vs", "if attacker", "if defender", "more per", "xStrenght", "xBlue", "xRed", "xYellow", "xSword", "xoppBlue", "xoppRed", "xoppYellow", "xoppSword", "-oppStrenght" }));
        MMID2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MMID2ActionPerformed(evt);
            }
        });

        MBOT2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "None", "more vs", "if attacker", "if defender", "more per", "xStrenght", "xBlue", "xRed", "xYellow", "xSword", "xoppBlue", "xoppRed", "xoppYellow", "xoppSword", "-oppStrenght" }));
        MBOT2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MBOT2ActionPerformed(evt);
            }
        });

        MPTOP1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Class ally", "Race ally", "Guild ally", "opp Class", "opp Race", "opp Guild", "Blue", "Red", "Yellow", "Sword", "opp Dice", "Ability", "opp Ability" }));
        MPTOP1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MPTOP1ActionPerformed(evt);
            }
        });

        MPMID1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Class ally", "Race ally", "Guild ally", "opp Class", "opp Race", "opp Guild", "Blue", "Red", "Yellow", "Sword", "opp Dice", "Ability", "opp Ability" }));
        MPMID1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MPMID1ActionPerformed(evt);
            }
        });

        MPBOT1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Class ally", "Race ally", "Guild ally", "opp Class", "opp Race", "opp Guild", "Blue", "Red", "Yellow", "Sword", "opp Dice", "Ability", "opp Ability" }));
        MPBOT1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MPBOT1ActionPerformed(evt);
            }
        });

        MPTOP2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Class ally", "Race ally", "Guild ally", "opp Class", "opp Race", "opp Guild", "Blue", "Red", "Yellow", "Sword", "opp Dice", "Ability", "opp Ability" }));
        MPTOP2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MPTOP2ActionPerformed(evt);
            }
        });

        MPMID2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Class ally", "Race ally", "Guild ally", "opp Class", "opp Race", "opp Guild", "Blue", "Red", "Yellow", "Sword", "opp Dice", "Ability", "opp Ability" }));
        MPMID2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MPMID2ActionPerformed(evt);
            }
        });

        MPBOT2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Class ally", "Race ally", "Guild ally", "opp Class", "opp Race", "opp Guild", "Blue", "Red", "Yellow", "Sword", "opp Dice", "Ability", "opp Ability" }));
        MPBOT2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MPBOT2ActionPerformed(evt);
            }
        });

        lblTXTTOP1.setText("[TEXT]");

        lblTXTMID1.setText("[TEXT]");

        lblTXTBOT1.setText("[TEXT]");

        lblTXTTOP2.setText("[TEXT]");

        lblTXTMID2.setText("[TEXT]");

        lblTXTBOT2.setText("[TEXT]");

        ALLTOP1.setText("All");
        ALLTOP1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ALLTOP1ActionPerformed(evt);
            }
        });

        ALLMID1.setText("All");

        ALLBOT1.setText("All");

        ALLBOT2.setText("All");

        ALLMID2.setText("All");

        ALLTOP2.setText("All");

        ckbTOP1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Any", "Noz", "Kotoba", "Nehantist", "Nomad", "Winter", "Avalonia", "Zil", "Pirates", "StoneLinker", "Mercenary", "Sap Heart", "Runic Legion", "Mage", "Colossus", "Priest", "Warrior", "Marauder", "Bard", "Berserker", "Solarian", "Elfine", "Eltarite", "Undead", "Homchai", "Human", "Guemelite", "Dais", "Golem", "Demon", "Beast", "Ice Elf", " " }));
        ckbTOP1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ckbTOP1ActionPerformed(evt);
            }
        });

        ckbTOP2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Any", "Noz", "Kotoba", "Nehantist", "Nomad", "Winter", "Avalonia", "Zil", "Pirates", "StoneLinker", "Mercenary", "Sap Heart", "Runic Legion", "Mage", "Colossus", "Priest", "Warrior", "Marauder", "Bard", "Berserker", "Solarian", "Elfine", "Eltarite", "Undead", "Homchai", "Human", "Guemelite", "Dais", "Golem", "Demon", "Beast", "Ice Elf", " " }));

        ckbMID1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Any", "Noz", "Kotoba", "Nehantist", "Nomad", "Winter", "Avalonia", "Zil", "Pirates", "StoneLinker", "Mercenary", "Sap Heart", "Runic Legion", "Mage", "Colossus", "Priest", "Warrior", "Marauder", "Bard", "Berserker", "Solarian", "Elfine", "Eltarite", "Undead", "Homchai", "Human", "Guemelite", "Dais", "Golem", "Demon", "Beast", "Ice Elf", " " }));

        ckbMID2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Any", "Noz", "Kotoba", "Nehantist", "Nomad", "Winter", "Avalonia", "Zil", "Pirates", "StoneLinker", "Mercenary", "Sap Heart", "Runic Legion", "Mage", "Colossus", "Priest", "Warrior", "Marauder", "Bard", "Berserker", "Solarian", "Elfine", "Eltarite", "Undead", "Homchai", "Human", "Guemelite", "Dais", "Golem", "Demon", "Beast", "Ice Elf", " " }));

        ckbBOT1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Any", "Noz", "Kotoba", "Nehantist", "Nomad", "Winter", "Avalonia", "Zil", "Pirates", "StoneLinker", "Mercenary", "Sap Heart", "Runic Legion", "Mage", "Colossus", "Priest", "Warrior", "Marauder", "Bard", "Berserker", "Solarian", "Elfine", "Eltarite", "Undead", "Homchai", "Human", "Guemelite", "Dais", "Golem", "Demon", "Beast", "Ice Elf", " " }));

        ckbBOT2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Any", "Noz", "Kotoba", "Nehantist", "Nomad", "Winter", "Avalonia", "Zil", "Pirates", "StoneLinker", "Mercenary", "Sap Heart", "Runic Legion", "Mage", "Colossus", "Priest", "Warrior", "Marauder", "Bard", "Berserker", "Solarian", "Elfine", "Eltarite", "Undead", "Homchai", "Human", "Guemelite", "Dais", "Golem", "Demon", "Beast", "Ice Elf", " " }));

        cbx1DTTOP1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        LBL18.setText("to");

        cbx2DTTOP1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        cbx1DTMID1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        LBL19.setText("to");

        cbx2DTMID1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        cbx1DTBOT1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        LBL20.setText("to");

        cbx2DTBOT1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        cbx1DTTOP2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        LBL21.setText("to");

        cbx2DTTOP2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        cbx1DTMID2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        LBL22.setText("to");

        cbx2DTMID2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        cbx1DTBOT2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        LBL23.setText("to");

        cbx2DTBOT2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Red", "Blue", "Yellow", "Sword" }));

        NHITS1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                NHITS1KeyTyped(evt);
            }
        });

        jLabel24.setText("Nº of hits suffered by a sword");

        lblopp.setText("opp Strenght");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(22, 22, 22)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel9)
                    .addComponent(jLabel10)
                    .addComponent(jLabel11))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(DTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(DMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(DBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(10, 10, 10)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(DTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(DMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(DBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(10, 10, 10)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(DTOP3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(DMID3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(DBOT3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(NBOT1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(NMID1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(NTOP1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(Typibility3, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(ATOP1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(Typibility1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(ABOT1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(AMID1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(449, 449, 449)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                        .addComponent(Typibility4, javax.swing.GroupLayout.Alignment.LEADING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(ATOP2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(AMID2, 0, 1, Short.MAX_VALUE)
                                    .addComponent(Typibility5, 0, 102, Short.MAX_VALUE)
                                    .addComponent(Typibility6, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(ABOT2, 0, 1, Short.MAX_VALUE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(VMID2, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(MMID2, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addGroup(layout.createSequentialGroup()
                                                .addComponent(txtMPMID2, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addGap(4, 4, 4)
                                                .addComponent(lblTXTMID2))
                                            .addComponent(MPMID2, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(VTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jLabel8)
                                            .addGroup(layout.createSequentialGroup()
                                                .addComponent(txtMPTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addGap(4, 4, 4)
                                                .addComponent(lblTXTTOP2))
                                            .addComponent(MTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(MPTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(VBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(MBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(MPBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addGroup(layout.createSequentialGroup()
                                                .addComponent(txtMPBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addGap(4, 4, 4)
                                                .addComponent(lblTXTBOT2)))))
                                .addGap(6, 6, 6)
                                .addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addGap(57, 57, 57)
                                        .addComponent(VBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addGroup(layout.createSequentialGroup()
                                            .addGap(57, 57, 57)
                                            .addComponent(VTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addGroup(layout.createSequentialGroup()
                                            .addGap(4, 4, 4)
                                            .addComponent(cbx2DTTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(VMID1, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE))))
                                .addGap(10, 10, 10)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(MTOP1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(MPTOP1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(MMID1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(MPMID1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(txtMPMID1, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(4, 4, 4)
                                        .addComponent(lblTXTMID1))
                                    .addComponent(MBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(MPBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(txtMPTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(4, 4, 4)
                                        .addComponent(lblTXTTOP1))
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(txtMPBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(4, 4, 4)
                                        .addComponent(lblTXTBOT1))
                                    .addGroup(layout.createSequentialGroup()
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                                .addComponent(DROLL4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addGap(18, 18, 18)
                                                .addComponent(DROLL5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                                .addComponent(DROLL1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addGap(18, 18, 18)
                                                .addComponent(DROLL2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                        .addGap(18, 18, 18)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                            .addComponent(DROLL6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(DROLL3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                                .addGap(85, 85, 85)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(txtDTTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(5, 5, 5)
                                        .addComponent(cbx1DTTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addComponent(LBL21)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addComponent(cbx2DTTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(txtDTMID2, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(cbx1DTMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addComponent(LBL22)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addComponent(cbx2DTMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(txtDTBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(cbx1DTBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addComponent(LBL23)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addComponent(cbx2DTBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(layout.createSequentialGroup()
                                        .addGap(124, 124, 124)
                                        .addComponent(btnCalc)))
                                .addContainerGap())))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(Typibility2, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(257, 257, 257)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(ADDTOP, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(ADDBOT, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(ADDMID, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(RMVTOP, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(RMVMID, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(RMVBOT, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 88, Short.MAX_VALUE)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel7, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(NTOP2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(NMID2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(NBOT2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(411, 411, 411))))
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(697, 697, 697)
                        .addComponent(jLabel5))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(154, 154, 154)
                        .addComponent(jLabel1)
                        .addGap(229, 229, 229)
                        .addComponent(jLabel3)
                        .addGap(135, 135, 135)
                        .addComponent(jLabel4))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(316, 316, 316)
                        .addComponent(txtDTTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(cbx1DTTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(LBL18))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(342, 342, 342)
                        .addComponent(ALLBOT1)
                        .addGap(18, 18, 18)
                        .addComponent(ckbBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(97, 97, 97)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(NHIT1, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(jLabel14))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(NHIT3, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(jLabel13))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(NHIT2, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(jLabel12))))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(700, 700, 700)
                        .addComponent(jLabel16))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(318, 318, 318)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                .addGap(18, 18, 18)
                                .addComponent(ALLTOP1))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(24, 24, 24)
                                .addComponent(ALLMID1)))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(ckbTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(ckbMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel17)
                        .addGap(28, 28, 28)
                        .addComponent(txtstr, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(97, 97, 97)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(NHITS, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(jLabel15))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(NHITS1, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(jLabel24)))
                        .addGap(78, 78, 78)
                        .addComponent(lblopp)
                        .addGap(28, 28, 28)
                        .addComponent(txtoppstr, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(892, 892, 892)
                        .addComponent(ALLTOP2)
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel6)
                            .addComponent(ckbTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(892, 892, 892)
                        .addComponent(ALLBOT2)
                        .addGap(18, 18, 18)
                        .addComponent(ckbBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(892, 892, 892)
                        .addComponent(ALLMID2)
                        .addGap(18, 18, 18)
                        .addComponent(ckbMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(419, 419, 419)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRadioButton2)
                            .addComponent(jRadioButton1))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addComponent(txtDTBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(cbx1DTBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(LBL20)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(cbx2DTBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(789, 789, 789))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addComponent(txtDTMID1, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(cbx1DTMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(LBL19)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(cbx2DTMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(790, 790, 790))))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                            .addGap(16, 16, 16)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(jLabel17)
                                .addComponent(txtstr, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGroup(layout.createSequentialGroup()
                            .addGap(43, 43, 43)
                            .addComponent(jLabel1))
                        .addGroup(layout.createSequentialGroup()
                            .addGap(43, 43, 43)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(jLabel3)
                                .addComponent(jLabel4)
                                .addComponent(jLabel2)))
                        .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                            .addContainerGap()
                            .addComponent(jLabel8)))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(43, 43, 43)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel5)
                            .addComponent(jLabel6)
                            .addComponent(jLabel7))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel16)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(ALLTOP1)
                        .addComponent(ckbTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(ALLTOP2)
                        .addComponent(ckbTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(DTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(DTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(DTOP3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(ATOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(14, 14, 14)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(cbx1DTTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(txtDTTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(LBL18)
                                    .addComponent(cbx2DTTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(24, 24, 24)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(ALLMID1)
                                    .addComponent(ckbMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(MTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(6, 6, 6)
                                .addComponent(MPTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(txtMPTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(lblTXTTOP1)))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addComponent(jLabel9))
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(Typibility1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(VTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(NTOP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGap(4, 4, 4)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(DMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jLabel10)
                                .addComponent(DMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(DMID3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(NMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(Typibility2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(6, 6, 6)
                                .addComponent(AMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(2, 2, 2)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(MMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(VMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(MPMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(ADDTOP, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(6, 6, 6)
                                        .addComponent(RMVTOP, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(layout.createSequentialGroup()
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(Typibility4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(VTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(NTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(MTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(ATOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(MPTOP2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(txtDTTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                        .addComponent(cbx1DTTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(LBL21)
                                        .addComponent(cbx2DTTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(ALLMID2)
                                    .addComponent(ckbMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(52, 52, 52)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(txtMPTOP2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(layout.createSequentialGroup()
                                        .addGap(3, 3, 3)
                                        .addComponent(lblTXTTOP2)))
                                .addGap(0, 0, Short.MAX_VALUE)))
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(ADDMID, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(NMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(Typibility5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(VMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(MMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(6, 6, 6)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(RMVMID, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(AMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                .addComponent(MPMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(2, 2, 2)))))
                .addGap(6, 6, 6)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(txtMPMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(cbx1DTMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(txtDTMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(cbx2DTMID1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(LBL19))
                    .addComponent(txtMPMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(3, 3, 3)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(lblTXTMID1)
                                .addComponent(txtDTMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(cbx1DTMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(LBL22)
                                .addComponent(cbx2DTMID2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(lblTXTMID2))))
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(16, 16, 16)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(ckbBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(ALLBOT1)))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(ALLBOT2)
                            .addComponent(ckbBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addComponent(jLabel11))
                            .addComponent(DBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(DBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(DBOT3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(99, 99, 99)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(NHITS1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel24))
                        .addGap(6, 6, 6)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(NHITS, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel15)))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(Typibility3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(NBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(6, 6, 6)
                                .addComponent(ABOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(ADDBOT, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(NBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(Typibility6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(VBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addGap(6, 6, 6)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(RMVBOT, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(ABOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                    .addGroup(layout.createSequentialGroup()
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(MBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(VBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(MPBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(MBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(6, 6, 6)
                                        .addComponent(MPBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(txtMPBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(lblTXTBOT1)
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                        .addComponent(txtDTBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(cbx1DTBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(LBL23)
                                        .addComponent(cbx2DTBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(txtMPBOT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(layout.createSequentialGroup()
                                        .addGap(3, 3, 3)
                                        .addComponent(lblTXTBOT2))))
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(txtDTBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(cbx1DTBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(LBL20)
                                .addComponent(cbx2DTBOT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblopp)
                            .addComponent(txtoppstr, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)))
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(6, 6, 6)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(NHIT3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel13))
                        .addGap(9, 9, 9)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(NHIT2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel12))
                        .addGap(6, 6, 6)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(NHIT1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel14))
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(jRadioButton1)
                                .addGap(0, 0, 0)
                                .addComponent(jRadioButton2))
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(DROLL3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(btnCalc)
                                    .addComponent(DROLL2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(DROLL1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(DROLL6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(DROLL5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(DROLL4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                        .addGap(80, 80, 80))))
            .addGroup(layout.createSequentialGroup()
                .addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, 539, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 126, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void NTOP1KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_NTOP1KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_NTOP1KeyTyped

    private void VTOP1KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_VTOP1KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_VTOP1KeyTyped

    private void NTOP2KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_NTOP2KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_NTOP2KeyTyped

    private void VTOP2KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_VTOP2KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_VTOP2KeyTyped

    private void NMID1KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_NMID1KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_NMID1KeyTyped

    private void VMID1KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_VMID1KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_VMID1KeyTyped

    private void NMID2KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_NMID2KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_NMID2KeyTyped

    private void VMID2KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_VMID2KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_VMID2KeyTyped

    private void NBOT1KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_NBOT1KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_NBOT1KeyTyped

    private void VBOT1KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_VBOT1KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_VBOT1KeyTyped

    private void NBOT2KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_NBOT2KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_NBOT2KeyTyped

    private void VBOT2KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_VBOT2KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_VBOT2KeyTyped

    private void NHITSKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_NHITSKeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_NHITSKeyTyped

    private void NHIT1KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_NHIT1KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_NHIT1KeyTyped

    private void NHIT2KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_NHIT2KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_NHIT2KeyTyped

    private void NHIT3KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_NHIT3KeyTyped
        String caracteres = "0987654321";
        if (!caracteres.contains(evt.getKeyChar() + "")) {
            evt.consume();
        }
    }//GEN-LAST:event_NHIT3KeyTyped

    private void btnCalcActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCalcActionPerformed
        DadosUtils utils = new DadosUtils();
        int r = 0;
        int b = 0;
        int y = 0;
        int s = 0;
        int rtop = 0;
        int rbot = 0;
        int rmid = 0;
        int btop = 0;
        int bmid = 0;
        int bbot = 0;
        int ybot = 0;
        int ymid = 0;
        int ytop = 0;
        int stop = 0;
        int smid = 0;
        int sbot = 0;
        int[] bot = new int[3];
        int[] mid = new int[3];
        int[] top = new int[3];
        int actbot = 0;
        int acttop = 0;
        int actmid = 0;
        int timesB1 = 1;
        int timesB2 = 1;
        int timesM1 = 1;
        int timesM2 = 1;
        int timesT1 = 1;
        int timesT2 = 1;

        double total;
        double debuff = 0;
        double cura = 0;
        double dano = 0;
        double escudo = 0;
        double gelo = 0;
        double dmg = 0;
        double critico = 0;
        double lightning = 0;
        double runa = 0;

        String[] rollcalc = new String[6];
        List<String> dicesbot = new ArrayList<>();
        List<String> dicesmid = new ArrayList<>();
        List<String> dicestop = new ArrayList<>();

        //Lê o roll a analisar
        rollcalc[0] = DROLL1.getSelectedItem().toString();
        rollcalc[1] = DROLL2.getSelectedItem().toString();
        rollcalc[2] = DROLL3.getSelectedItem().toString();
        rollcalc[3] = DROLL4.getSelectedItem().toString();
        rollcalc[4] = DROLL5.getSelectedItem().toString();
        rollcalc[5] = DROLL6.getSelectedItem().toString();
        System.out.println(Arrays.toString(rollcalc));

        //Lê os dados necessários de cada habilidade
        if (!"None".equals(DBOT1.getSelectedItem().toString())) {
            dicesbot.add(DBOT1.getSelectedItem().toString());
        }
        if (!"None".equals(DBOT2.getSelectedItem().toString())) {
            dicesbot.add(DBOT2.getSelectedItem().toString());
        }
        if (!"None".equals(DBOT3.getSelectedItem().toString())) {
            dicesbot.add(DBOT3.getSelectedItem().toString());
        }
        if (!"None".equals(DMID1.getSelectedItem().toString())) {
            dicesmid.add(DMID1.getSelectedItem().toString());
        }
        if (!"None".equals(DMID2.getSelectedItem().toString())) {
            dicesmid.add(DMID2.getSelectedItem().toString());
        }
        if (!"None".equals(DMID3.getSelectedItem().toString())) {
            dicesmid.add(DMID3.getSelectedItem().toString());
        }
        if (!"None".equals(DTOP1.getSelectedItem().toString())) {
            dicestop.add(DTOP1.getSelectedItem().toString());
        }
        if (!"None".equals(DTOP2.getSelectedItem().toString())) {
            dicestop.add(DTOP2.getSelectedItem().toString());
        }
        if (!"None".equals(DTOP3.getSelectedItem().toString())) {
            dicestop.add(DTOP3.getSelectedItem().toString());
        }
        System.out.println(dicestop);
        System.out.println(dicesmid);
        System.out.println(dicesbot);
        //Conta quantos dados de cada tipo tem o roll analisado
        for (int i = 0; i < 6; i++) {
            if ("Red".equals(rollcalc[i])) {
                r = r + 1;
                utils.add(0);
            }
            if ("Blue".equals(rollcalc[i])) {
                b = b + 1;
                utils.add(1);
            }
            if ("Yellow".equals(rollcalc[i])) {
                y = y + 1;
                utils.add(2);
            }
            if ("Sword".equals(rollcalc[i])) {
                s = s + 1;
                utils.add(3);
            }
        }

        //Conta quantos dados de cada tipo tem cada habilidade
        for (int k = 0; k < dicesbot.size(); k++) {
            if ("Red".equals(dicesbot.get(k))) {
                rbot = rbot + 1;
                bot[k] = 0;
            }
            if ("Blue".equals(dicesbot.get(k))) {
                bbot = bbot + 1;
                bot[k] = 1;
            }
            if ("Yellow".equals(dicesbot.get(k))) {
                ybot = ybot + 1;
                bot[k] = 2;
            }
            if ("Sword".equals(dicesbot.get(k))) {
                sbot = sbot + 1;
                bot[k] = 3;
            }
        }

        for (int k = 0; k < dicesmid.size(); k++) {
            if ("Red".equals(dicesmid.get(k))) {
                rmid = rmid + 1;
                mid[k] = 0;
            }
            if ("Blue".equals(dicesmid.get(k))) {
                bmid = bmid + 1;
                mid[k] = 1;
            }
            if ("Yellow".equals(dicesmid.get(k))) {
                ymid = ymid + 1;
                mid[k] = 2;
            }
            if ("Sword".equals(dicesmid.get(k))) {
                smid = smid + 1;
                mid[k] = 3;
            }
        }

        for (int k = 0; k < dicestop.size(); k++) {
            if ("Red".equals(dicestop.get(k))) {
                rtop = rtop + 1;
                top[k] = 0;
            }
            if ("Blue".equals(dicestop.get(k))) {
                btop = btop + 1;
                top[k] = 1;
            }
            if ("Yellow".equals(dicestop.get(k))) {
                ytop = ytop + 1;
                top[k] = 2;
            }
            if ("Sword".equals(dicestop.get(k))) {
                stop = stop + 1;
                top[k] = 3;
            }
        }
        if (dicesbot.size() == 0) {
            actbot = 1;
        }
        if (dicesbot.size() == 1) {
            DadosUtils.Dado d1 = utils.newDado(bot[0], 1);
            actbot = utils.getTimes(d1);
            System.out.println(utils.getTimes(d1));
        }
        if (dicesbot.size() == 2) {
            if (bot[0] != bot[1]) {
                DadosUtils.Dado d1 = utils.newDado(bot[0], 1);
                DadosUtils.Dado d2 = utils.newDado(bot[1], 1);
                actbot = utils.getTimes(d1, d2);
                System.out.println(utils.getTimes(d1, d2));
            } else {
                DadosUtils.Dado d1 = utils.newDado(bot[0], 2);
                actbot = utils.getTimes(d1);
                System.out.println(utils.getTimes(d1));
            }
        }
        if (dicesbot.size() == 3) {
            if (bot[0] == bot[1] && bot[1] == bot[2]) {
                DadosUtils.Dado d1 = utils.newDado(bot[0], 3);
                actbot = utils.getTimes(d1);
                System.out.println(utils.getTimes(d1));
            }
            if (bot[0] != bot[1] && bot[1] != bot[2] && bot[0] != bot[2]) {
                DadosUtils.Dado d1 = utils.newDado(bot[0], 1);
                DadosUtils.Dado d2 = utils.newDado(bot[1], 1);
                DadosUtils.Dado d3 = utils.newDado(bot[2], 1);
                actbot = utils.getTimes(d1, d2, d3);
                System.out.println(utils.getTimes(d1, d2, d3));
            }
            if (bot[0] != bot[1] && bot[1] != bot[2] && bot[0] == bot[2]) {
                DadosUtils.Dado d1 = utils.newDado(bot[0], 2);
                DadosUtils.Dado d2 = utils.newDado(bot[1], 1);
                actbot = utils.getTimes(d1, d2);
                System.out.println(utils.getTimes(d1, d2));
            }
            if (bot[0] == bot[1] && bot[1] != bot[2] && bot[0] != bot[2]) {
                DadosUtils.Dado d1 = utils.newDado(bot[0], 2);
                DadosUtils.Dado d2 = utils.newDado(bot[2], 1);
                actbot = utils.getTimes(d1, d2);
                System.out.println(utils.getTimes(d1, d2));
            }
            if (bot[0] != bot[1] && bot[1] == bot[2] && bot[0] != bot[2]) {
                DadosUtils.Dado d1 = utils.newDado(bot[0], 1);
                DadosUtils.Dado d2 = utils.newDado(bot[1], 2);
                actbot = utils.getTimes(d1, d2);
                System.out.println(utils.getTimes(d1, d2));
            }
        }

        if (dicesmid.size() == 0) {
            actmid = 1;
        }
        if (dicesmid.size() == 1) {
            DadosUtils.Dado dd1 = utils.newDado(mid[0], 1);
            actmid = utils.getTimes(dd1);
            System.out.println(utils.getTimes(dd1));
        }
        if (dicesmid.size() == 2) {
            if (mid[0] != mid[1]) {
                DadosUtils.Dado dd1 = utils.newDado(mid[0], 1);
                DadosUtils.Dado dd2 = utils.newDado(mid[1], 1);
                actmid = utils.getTimes(dd1, dd2);
                System.out.println(utils.getTimes(dd1, dd2));
            } else {
                DadosUtils.Dado dd1 = utils.newDado(mid[0], 2);
                actmid = utils.getTimes(dd1);
                System.out.println(utils.getTimes(dd1));
            }
        }
        if (dicesmid.size() == 3) {
            if (mid[0] == mid[1] && mid[1] == mid[2]) {
                DadosUtils.Dado dd1 = utils.newDado(mid[0], 3);
                actmid = utils.getTimes(dd1);
                System.out.println(utils.getTimes(dd1));
            }
            if (mid[0] != mid[1] && mid[1] != mid[2] && mid[0] != mid[2]) {
                DadosUtils.Dado dd1 = utils.newDado(mid[0], 1);
                DadosUtils.Dado dd2 = utils.newDado(mid[1], 1);
                DadosUtils.Dado dd3 = utils.newDado(mid[2], 1);
                actmid = utils.getTimes(dd1, dd2, dd3);
                System.out.println(utils.getTimes(dd1, dd2, dd3));
            }
            if (mid[0] != mid[1] && mid[1] != mid[2] && mid[0] == mid[2]) {
                DadosUtils.Dado dd1 = utils.newDado(mid[0], 2);
                DadosUtils.Dado dd2 = utils.newDado(mid[1], 1);
                actmid = utils.getTimes(dd1, dd2);
                System.out.println(utils.getTimes(dd1, dd2));
            }
            if (mid[0] == mid[1] && mid[1] != mid[2] && mid[0] != mid[2]) {
                DadosUtils.Dado dd1 = utils.newDado(mid[0], 2);
                DadosUtils.Dado dd2 = utils.newDado(mid[2], 1);
                actmid = utils.getTimes(dd1, dd2);
                System.out.println(utils.getTimes(dd1, dd2));
            }
            if (mid[0] != mid[1] && mid[1] == mid[2] && mid[0] != mid[2]) {
                DadosUtils.Dado dd1 = utils.newDado(mid[0], 1);
                DadosUtils.Dado dd2 = utils.newDado(mid[1], 2);
                actmid = utils.getTimes(dd1, dd2);
                System.out.println(utils.getTimes(dd1, dd2));
            }
        }

        if (dicestop.size() == 0) {
            acttop = 1;
        }
        if (dicestop.size() == 1) {
            DadosUtils.Dado ddd1 = utils.newDado(top[0], 1);
            acttop = utils.getTimes(ddd1);
            System.out.println(utils.getTimes(ddd1));
        }
        if (dicestop.size() == 2) {
            if (top[0] != top[1]) {
                DadosUtils.Dado ddd1 = utils.newDado(top[0], 1);
                DadosUtils.Dado ddd2 = utils.newDado(top[1], 1);
                acttop = utils.getTimes(ddd1, ddd2);
                System.out.println(utils.getTimes(ddd1, ddd2));
            } else {
                DadosUtils.Dado ddd1 = utils.newDado(top[0], 2);
                acttop = utils.getTimes(ddd1);
                System.out.println(utils.getTimes(ddd1));
            }
        }
        if (dicestop.size() == 3) {
            if (top[0] == top[1] && top[1] == top[2]) {
                DadosUtils.Dado ddd1 = utils.newDado(top[0], 3);
                acttop = utils.getTimes(ddd1);
                System.out.println(utils.getTimes(ddd1));
            }
            if (top[0] != top[1] && top[1] != top[2] && top[0] != top[2]) {
                DadosUtils.Dado ddd1 = utils.newDado(top[0], 1);
                DadosUtils.Dado ddd2 = utils.newDado(top[1], 1);
                DadosUtils.Dado ddd3 = utils.newDado(top[2], 1);
                acttop = utils.getTimes(ddd1, ddd2, ddd3);
                System.out.println(utils.getTimes(ddd1, ddd2, ddd3));
            }
            if (top[0] != top[1] && top[1] != top[2] && top[0] == top[2]) {
                DadosUtils.Dado ddd1 = utils.newDado(top[0], 2);
                DadosUtils.Dado ddd2 = utils.newDado(top[1], 1);
                acttop = utils.getTimes(ddd1, ddd2);
                System.out.println(utils.getTimes(ddd1, ddd2));
            }
            if (top[0] == top[1] && top[1] != top[2] && top[0] != top[2]) {
                DadosUtils.Dado ddd1 = utils.newDado(top[0], 2);
                DadosUtils.Dado ddd2 = utils.newDado(top[2], 1);
                acttop = utils.getTimes(ddd1, ddd2);
                System.out.println(utils.getTimes(ddd1, ddd2));
            }
            if (top[0] != top[1] && top[1] == top[2] && top[0] != top[2]) {
                DadosUtils.Dado ddd1 = utils.newDado(top[0], 1);
                DadosUtils.Dado ddd2 = utils.newDado(top[1], 2);
                acttop = utils.getTimes(ddd1, ddd2);
                System.out.println(utils.getTimes(ddd1, ddd2));
            }
        }

        if (actbot != 0) {
            if (NBOT1.getText() == "" || NBOT1.getText() == "0") {
                timesB1 = 1;
                NBOT1.setText("1");
            } else {
                timesB1 = Integer.parseInt(NBOT1.getText());
            }

            if (Typibility3.getSelectedItem() == "Ice") {

            } else if (Typibility3.getSelectedItem() == "Noble") {

            } else if (Typibility3.getSelectedItem() == "Runic") {

            } else if (Typibility3.getSelectedItem() == "Time") {

            } else {
                for (int boi = 0; boi > timesB1; boi++) {
                    if (ABOT1.getSelectedItem() == "Hit") {
                        
                    }
                    if (ABOT1.getSelectedItem() == "Fireball") {

                    }
                    if (ABOT1.getSelectedItem() == "Heal") {

                    }
                    if (ABOT1.getSelectedItem() == "Shield") {

                    }
                    if (ABOT1.getSelectedItem() == "Lightning") {

                    }
                    if (ABOT1.getSelectedItem() == "Backstab") {

                    }
                    if (ABOT1.getSelectedItem() == "Shock") {

                    }
                    if (ABOT1.getSelectedItem() == "Life Drain") {

                    }
                    if (ABOT1.getSelectedItem() == "Strenght Drain") {

                    }
                    if (ABOT1.getSelectedItem() == "Shield Bash") {

                    }
                    if (ABOT1.getSelectedItem() == "Smite") {

                    }
                    if (ABOT1.getSelectedItem() == "Spellbreaker") {

                    }
                    if (ABOT1.getSelectedItem() == "Physical Attack") {

                    }
                    if (ABOT1.getSelectedItem() == "Scarab") {

                    }
                    if (ABOT1.getSelectedItem() == "Critical") {

                    }
                    if (ABOT1.getSelectedItem() == "Dodge") {

                    }
                    if (ABOT1.getSelectedItem() == "Purify") {

                    }
                    if (ABOT1.getSelectedItem() == "Strenght X") {

                    }
                    if (ABOT1.getSelectedItem() == "Strenght =") {

                    }
                    if (ABOT1.getSelectedItem() == "Strenght +") {

                    }
                    if (ABOT1.getSelectedItem() == "Strenght -") {

                    }
                    if (ABOT1.getSelectedItem() == "DMG +") {

                    }
                    if (ABOT1.getSelectedItem() == "Blessing") {

                    }
                    if (ABOT1.getSelectedItem() == "Resilience") {

                    }
                    if (ABOT1.getSelectedItem() == "Mimic") {

                    }
                    if (ABOT1.getSelectedItem() == "Rage") {

                    }
                    if (ABOT1.getSelectedItem() == "Berserk") {

                    }
                    if (ABOT1.getSelectedItem() == "Thorn") {

                    }
                    if (ABOT1.getSelectedItem() == "Riposte") {

                    }
                    if (ABOT1.getSelectedItem() == "Eclipse") {

                    }
                    if (ABOT1.getSelectedItem() == "opp Powder") {

                    }
                    if (ABOT1.getSelectedItem() == "opp DMG -") {

                    }
                    if (ABOT1.getSelectedItem() == "opp Strenght -") {

                    }
                    if (ABOT1.getSelectedItem() == "opp Strenght +") {

                    }
                    if (ABOT1.getSelectedItem() == "opp Strenght =") {

                    }
                    if (ABOT1.getSelectedItem() == "opp Strenght /") {

                    }
                    if (ABOT1.getSelectedItem() == "Inspire") {

                    }
                    if (ABOT1.getSelectedItem() == "Rune") {

                    }
                    if (ABOT1.getSelectedItem() == "Ice") {

                    }
                    if (ABOT1.getSelectedItem() == "Bulwark") {

                    }
                    if (ABOT1.getSelectedItem() == "Death Stare") {

                    }
                    if (ABOT1.getSelectedItem() == "Terror") {

                    }
                    if (ABOT1.getSelectedItem() == "opp Thunderstruck") {

                    }
                    if (ABOT1.getSelectedItem() == "Stench") {

                    }
                    if (ABOT1.getSelectedItem() == "Frostbite") {

                    }
                    if (ABOT1.getSelectedItem() == "Dice Trigger") {

                    }
                    if (ABOT1.getSelectedItem() == "opp Dice Trigger") {

                    }
                }
            }
        }
    }//GEN-LAST:event_btnCalcActionPerformed

    private void ADDBOTActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ADDBOTActionPerformed
        kpadd1 = 1;
        NBOT2.setVisible(true);
        VBOT2.setVisible(true);
        ABOT2.setVisible(true);
        jLabel6.setVisible(true);
        jLabel7.setVisible(true);
        jLabel8.setVisible(true);
        MBOT2.setVisible(true);
        Typibility6.setVisible(true);
    }//GEN-LAST:event_ADDBOTActionPerformed

    private void ADDMIDActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ADDMIDActionPerformed
        kpadd2 = 1;
        NMID2.setVisible(true);
        VMID2.setVisible(true);
        AMID2.setVisible(true);
        jLabel6.setVisible(true);
        jLabel7.setVisible(true);
        jLabel8.setVisible(true);
        MMID2.setVisible(true);
        Typibility5.setVisible(true);
    }//GEN-LAST:event_ADDMIDActionPerformed

    private void ADDTOPActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ADDTOPActionPerformed
        kpadd3 = 1;
        NTOP2.setVisible(true);
        VTOP2.setVisible(true);
        ATOP2.setVisible(true);
        jLabel6.setVisible(true);
        jLabel7.setVisible(true);
        jLabel8.setVisible(true);
        MTOP2.setVisible(true);
        Typibility4.setVisible(true);
    }//GEN-LAST:event_ADDTOPActionPerformed

    private void RMVTOPActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_RMVTOPActionPerformed
        kpadd3 = 0;
        NTOP2.setVisible(false);

        VTOP2.setVisible(false);
        ATOP2.setVisible(false);
        Typibility4.setVisible(false);
        MTOP2.setVisible(false);
        if (kpadd2 == 0 && kpadd1 == 0) {
            jLabel6.setVisible(false);
            jLabel7.setVisible(false);
            jLabel8.setVisible(false);
        }

        ckbTOP2.setVisible(false);
        ALLTOP2.setVisible(false);
        cbx1DTTOP2.setVisible(false);
        cbx2DTTOP2.setVisible(false);
        LBL21.setVisible(false);
        txtDTTOP2.setVisible(false);
        MTOP2.setVisible(false);
        MPTOP2.setVisible(false);
        txtMPTOP2.setVisible(false);
        lblTXTTOP2.setVisible(false);

        ATOP2.setSelectedIndex(0);
        MTOP2.setSelectedIndex(0);
        ckbTOP2.setSelectedIndex(0);
        ALLTOP2.setSelected(false);
        txtDTTOP2.setText("");
        txtMPTOP2.setText("");
        NTOP2.setText("");
        VTOP2.setText("");
        Typibility4.setSelectedIndex(0);
    }//GEN-LAST:event_RMVTOPActionPerformed

    private void RMVMIDActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_RMVMIDActionPerformed
        kpadd2 = 0;
        NMID2.setVisible(false);
        VMID2.setVisible(false);
        AMID2.setVisible(false);
        Typibility5.setVisible(false);
        MMID2.setVisible(false);
        if (kpadd1 == 0 && kpadd3 == 0) {
            jLabel6.setVisible(false);
            jLabel7.setVisible(false);
            jLabel8.setVisible(false);
        }
        ckbMID2.setVisible(false);
        ALLMID2.setVisible(false);
        cbx1DTMID2.setVisible(false);
        cbx2DTMID2.setVisible(false);
        LBL22.setVisible(false);
        txtDTMID2.setVisible(false);
        MMID2.setVisible(false);
        MPMID2.setVisible(false);
        txtMPMID2.setVisible(false);
        lblTXTMID2.setVisible(false);

        AMID2.setSelectedIndex(0);
        MMID2.setSelectedIndex(0);
        ckbMID2.setSelectedIndex(0);
        ALLMID2.setSelected(false);
        txtDTMID2.setText("");
        txtMPMID2.setText("");
        NMID2.setText("");
        VMID2.setText("");
        Typibility5.setSelectedIndex(0);
    }//GEN-LAST:event_RMVMIDActionPerformed

    private void RMVBOTActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_RMVBOTActionPerformed
        kpadd1 = 0;
        NBOT2.setVisible(false);
        VBOT2.setVisible(false);
        ABOT2.setVisible(false);
        Typibility6.setVisible(false);
        MBOT2.setVisible(false);
        if (kpadd2 == 0 && kpadd3 == 0) {
            jLabel6.setVisible(false);
            jLabel7.setVisible(false);
            jLabel8.setVisible(false);
        }
        ckbBOT2.setVisible(false);
        ALLBOT2.setVisible(false);
        cbx1DTBOT2.setVisible(false);
        cbx2DTBOT2.setVisible(false);
        LBL23.setVisible(false);
        txtDTBOT2.setVisible(false);
        MBOT2.setVisible(false);
        MPBOT2.setVisible(false);
        txtMPBOT2.setVisible(false);
        lblTXTBOT2.setVisible(false);

        ABOT2.setSelectedIndex(0);
        MBOT2.setSelectedIndex(0);
        ckbBOT2.setSelectedIndex(0);
        ALLBOT2.setSelected(false);
        txtDTBOT2.setText("");
        txtMPBOT2.setText("");
        NBOT2.setText("");
        VBOT2.setText("");
        Typibility6.setSelectedIndex(0);
    }//GEN-LAST:event_RMVBOTActionPerformed

    private void jRadioButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButton1ActionPerformed
        if (jRadioButton1.isSelected()) {
            jRadioButton2.setSelected(false);
        }
    }//GEN-LAST:event_jRadioButton1ActionPerformed

    private void jRadioButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButton2ActionPerformed
        if (jRadioButton2.isSelected()) {
            jRadioButton1.setSelected(false);
        }
    }//GEN-LAST:event_jRadioButton2ActionPerformed

    private void NHITS1KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_NHITS1KeyTyped
        // TODO add your handling code here:
    }//GEN-LAST:event_NHITS1KeyTyped

    private void ALLTOP1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ALLTOP1ActionPerformed
        if (ALLTOP1.isSelected()) {
            ckbTOP1.setVisible(true);
        } else {
            ckbTOP1.setVisible(false);
        }

    }//GEN-LAST:event_ALLTOP1ActionPerformed

    private void ckbTOP1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ckbTOP1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_ckbTOP1ActionPerformed

    private void ATOP1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ATOP1ActionPerformed
        if (ATOP1.getSelectedItem().toString() == "Shield" || ATOP1.getSelectedItem().toString() == "Scarab" || ATOP1.getSelectedItem().toString() == "Critical" || ATOP1.getSelectedItem().toString() == "Dodge" || ATOP1.getSelectedItem().toString() == "Purify" || ATOP1.getSelectedItem().toString() == "opp Thunderstruck" || ATOP1.getSelectedItem().toString() == "Strenght X" || ATOP1.getSelectedItem().toString() == "Strenght =" || ATOP1.getSelectedItem().toString() == "Strenght +" || ATOP1.getSelectedItem().toString() == "Strenght -" || ATOP1.getSelectedItem().toString() == "DMG +" || ATOP1.getSelectedItem().toString() == "Blessing" || ATOP1.getSelectedItem().toString() == "Berserk" || ATOP1.getSelectedItem().toString() == "Thorn" || ATOP1.getSelectedItem().toString() == "Riposte" || ATOP1.getSelectedItem().toString() == "Eclipse" || ATOP1.getSelectedItem().toString() == "opp Powder" || ATOP1.getSelectedItem().toString() == "Terror" || ATOP1.getSelectedItem().toString() == "Stench" || ATOP1.getSelectedItem().toString() == "Frostbite" || ATOP1.getSelectedItem().toString() == "Rune" || ATOP1.getSelectedItem().toString() == "Bulwark" || ATOP1.getSelectedItem().toString() == "Ice" || ATOP1.getSelectedItem().toString() == "opp DMG -" || ATOP1.getSelectedItem().toString() == "opp Strenght =" || ATOP1.getSelectedItem().toString() == "opp Strenght /" || ATOP1.getSelectedItem().toString() == "opp Strenght +" || ATOP1.getSelectedItem().toString() == "opp Strenght -") {
            ALLTOP1.setVisible(true);
        } else {
            ALLTOP1.setVisible(false);
        }
        if (ATOP1.getSelectedItem().toString() == "Dice Trigger" || ATOP1.getSelectedItem().toString() == "opp Dice Trigger") {
            cbx1DTTOP1.setVisible(true);
            cbx2DTTOP1.setVisible(true);
            LBL18.setVisible(true);
            txtDTTOP1.setVisible(true);
        } else {
            cbx1DTTOP1.setVisible(false);
            cbx2DTTOP1.setVisible(false);
            LBL18.setVisible(false);
            txtDTTOP1.setVisible(false);
        }
    }//GEN-LAST:event_ATOP1ActionPerformed

    private void AMID1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_AMID1ActionPerformed
        if (AMID1.getSelectedItem().toString() == "Shield" || AMID1.getSelectedItem().toString() == "Scarab" || AMID1.getSelectedItem().toString() == "Critical" || AMID1.getSelectedItem().toString() == "Dodge" || AMID1.getSelectedItem().toString() == "Purify" || AMID1.getSelectedItem().toString() == "opp Thunderstruck" || AMID1.getSelectedItem().toString() == "Strenght X" || AMID1.getSelectedItem().toString() == "Strenght =" || AMID1.getSelectedItem().toString() == "Strenght +" || AMID1.getSelectedItem().toString() == "Strenght -" || AMID1.getSelectedItem().toString() == "DMG +" || AMID1.getSelectedItem().toString() == "Blessing" || AMID1.getSelectedItem().toString() == "Berserk" || AMID1.getSelectedItem().toString() == "Thorn" || AMID1.getSelectedItem().toString() == "Riposte" || AMID1.getSelectedItem().toString() == "Eclipse" || AMID1.getSelectedItem().toString() == "opp Powder" || AMID1.getSelectedItem().toString() == "Terror" || AMID1.getSelectedItem().toString() == "Stench" || AMID1.getSelectedItem().toString() == "Frostbite" || AMID1.getSelectedItem().toString() == "Rune" || AMID1.getSelectedItem().toString() == "Bulwark" || AMID1.getSelectedItem().toString() == "Ice" || AMID1.getSelectedItem().toString() == "opp DMG -" || AMID1.getSelectedItem().toString() == "opp Strenght =" || AMID1.getSelectedItem().toString() == "opp Strenght /" || AMID1.getSelectedItem().toString() == "opp Strenght +" || AMID1.getSelectedItem().toString() == "opp Strenght -") {
            ALLMID1.setVisible(true);
        } else {
            ALLMID1.setVisible(false);
        }
        if (AMID1.getSelectedItem().toString() == "Dice Trigger" || AMID1.getSelectedItem().toString() == "opp Dice Trigger") {
            cbx1DTMID1.setVisible(true);
            cbx2DTMID1.setVisible(true);
            LBL19.setVisible(true);
            txtDTMID1.setVisible(true);
        } else {
            cbx1DTMID1.setVisible(false);
            cbx2DTMID1.setVisible(false);
            LBL19.setVisible(false);
            txtDTMID1.setVisible(false);
        }
    }//GEN-LAST:event_AMID1ActionPerformed

    private void ATOP2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ATOP2ActionPerformed
        if ("Shield".equals(ATOP2.getSelectedItem().toString()) || ATOP2.getSelectedItem().toString() == "Scarab" || ATOP2.getSelectedItem().toString() == "Critical" || ATOP2.getSelectedItem().toString() == "Dodge" || ATOP2.getSelectedItem().toString() == "Purify" || ATOP2.getSelectedItem().toString() == "opp Thunderstruck" || ATOP2.getSelectedItem().toString() == "Strenght X" || ATOP2.getSelectedItem().toString() == "Strenght =" || ATOP2.getSelectedItem().toString() == "Strenght +" || ATOP2.getSelectedItem().toString() == "Strenght -" || ATOP2.getSelectedItem().toString() == "DMG +" || ATOP2.getSelectedItem().toString() == "Blessing" || ATOP2.getSelectedItem().toString() == "Berserk" || ATOP2.getSelectedItem().toString() == "Thorn" || ATOP2.getSelectedItem().toString() == "Riposte" || ATOP2.getSelectedItem().toString() == "Eclipse" || ATOP2.getSelectedItem().toString() == "opp Powder" || ATOP2.getSelectedItem().toString() == "Terror" || ATOP2.getSelectedItem().toString() == "Stench" || ATOP2.getSelectedItem().toString() == "Frostbite" || ATOP2.getSelectedItem().toString() == "Rune" || ATOP2.getSelectedItem().toString() == "Bulwark" || ATOP2.getSelectedItem().toString() == "Ice" || ATOP2.getSelectedItem().toString() == "opp DMG -" || ATOP2.getSelectedItem().toString() == "opp Strenght =" || ATOP2.getSelectedItem().toString() == "opp Strenght /" || ATOP2.getSelectedItem().toString() == "opp Strenght +" || ATOP2.getSelectedItem().toString() == "opp Strenght -") {
            ALLTOP2.setVisible(true);
        } else {
            ALLTOP2.setVisible(false);
        }
        if (ATOP2.getSelectedItem().toString() == "Dice Trigger" || ATOP2.getSelectedItem().toString() == "opp Dice Trigger") {
            cbx1DTTOP2.setVisible(true);
            cbx2DTTOP2.setVisible(true);
            LBL21.setVisible(true);
            txtDTTOP2.setVisible(true);
        } else {
            cbx1DTTOP2.setVisible(false);
            cbx2DTTOP2.setVisible(false);
            LBL21.setVisible(false);
            txtDTTOP2.setVisible(false);
        }
    }//GEN-LAST:event_ATOP2ActionPerformed

    private void AMID2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_AMID2ActionPerformed
        if (AMID2.getSelectedItem().toString() == "Shield" || AMID2.getSelectedItem().toString() == "Scarab" || AMID2.getSelectedItem().toString() == "Critical" || AMID2.getSelectedItem().toString() == "Dodge" || AMID2.getSelectedItem().toString() == "Purify" || AMID2.getSelectedItem().toString() == "opp Thunderstruck" || AMID2.getSelectedItem().toString() == "Strenght X" || AMID2.getSelectedItem().toString() == "Strenght =" || AMID2.getSelectedItem().toString() == "Strenght +" || AMID2.getSelectedItem().toString() == "Strenght -" || AMID2.getSelectedItem().toString() == "DMG +" || AMID2.getSelectedItem().toString() == "Blessing" || AMID2.getSelectedItem().toString() == "Berserk" || AMID2.getSelectedItem().toString() == "Thorn" || AMID2.getSelectedItem().toString() == "Riposte" || AMID2.getSelectedItem().toString() == "Eclipse" || AMID2.getSelectedItem().toString() == "opp Powder" || AMID2.getSelectedItem().toString() == "Terror" || AMID2.getSelectedItem().toString() == "Stench" || AMID2.getSelectedItem().toString() == "Frostbite" || AMID2.getSelectedItem().toString() == "Rune" || AMID2.getSelectedItem().toString() == "Bulwark" || AMID2.getSelectedItem().toString() == "Ice" || AMID2.getSelectedItem().toString() == "opp DMG -" || AMID2.getSelectedItem().toString() == "opp Strenght =" || AMID2.getSelectedItem().toString() == "opp Strenght /" || AMID2.getSelectedItem().toString() == "opp Strenght +" || AMID2.getSelectedItem().toString() == "opp Strenght -") {
            ALLMID2.setVisible(true);
        } else {
            ALLMID2.setVisible(false);
        }
        if (AMID2.getSelectedItem().toString() == "Dice Trigger" || AMID2.getSelectedItem().toString() == "opp Dice Trigger") {
            cbx1DTMID2.setVisible(true);
            cbx2DTMID2.setVisible(true);
            LBL22.setVisible(true);
            txtDTMID2.setVisible(true);
        } else {
            cbx1DTMID2.setVisible(false);
            cbx2DTMID2.setVisible(false);
            LBL22.setVisible(false);
            txtDTMID2.setVisible(false);
        }
    }//GEN-LAST:event_AMID2ActionPerformed

    private void ABOT1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ABOT1ActionPerformed
        if (ABOT1.getSelectedItem().toString() == "Shield" || ABOT1.getSelectedItem().toString() == "Scarab" || ABOT1.getSelectedItem().toString() == "Critical" || ABOT1.getSelectedItem().toString() == "Dodge" || ABOT1.getSelectedItem().toString() == "Purify" || ABOT1.getSelectedItem().toString() == "opp Thunderstruck" || ABOT1.getSelectedItem().toString() == "Strenght X" || ABOT1.getSelectedItem().toString() == "Strenght =" || ABOT1.getSelectedItem().toString() == "Strenght +" || ABOT1.getSelectedItem().toString() == "Strenght -" || ABOT1.getSelectedItem().toString() == "DMG +" || ABOT1.getSelectedItem().toString() == "Blessing" || ABOT1.getSelectedItem().toString() == "Berserk" || ABOT1.getSelectedItem().toString() == "Thorn" || ABOT1.getSelectedItem().toString() == "Riposte" || ABOT1.getSelectedItem().toString() == "Eclipse" || ABOT1.getSelectedItem().toString() == "opp Powder" || ABOT1.getSelectedItem().toString() == "Terror" || ABOT1.getSelectedItem().toString() == "Stench" || ABOT1.getSelectedItem().toString() == "Frostbite" || ABOT1.getSelectedItem().toString() == "Rune" || ABOT1.getSelectedItem().toString() == "Bulwark" || ABOT1.getSelectedItem().toString() == "Ice" || ABOT1.getSelectedItem().toString() == "opp DMG -" || ABOT1.getSelectedItem().toString() == "opp Strenght =" || ABOT1.getSelectedItem().toString() == "opp Strenght /" || ABOT1.getSelectedItem().toString() == "opp Strenght +" || ABOT1.getSelectedItem().toString() == "opp Strenght -") {
            ALLBOT1.setVisible(true);
        } else {
            ALLBOT1.setVisible(false);
        }
        if (ABOT1.getSelectedItem().toString() == "Dice Trigger" || ABOT1.getSelectedItem().toString() == "opp Dice Trigger") {
            cbx1DTBOT1.setVisible(true);
            cbx2DTBOT1.setVisible(true);
            LBL20.setVisible(true);
            txtDTBOT1.setVisible(true);
        } else {
            cbx1DTBOT1.setVisible(false);
            cbx2DTBOT1.setVisible(false);
            LBL20.setVisible(false);
            txtDTBOT1.setVisible(false);
        }
    }//GEN-LAST:event_ABOT1ActionPerformed

    private void ABOT2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ABOT2ActionPerformed
        if (ABOT2.getSelectedItem().toString() == "Shield" || ABOT2.getSelectedItem().toString() == "Scarab" || ABOT2.getSelectedItem().toString() == "Critical" || ABOT2.getSelectedItem().toString() == "Dodge" || ABOT2.getSelectedItem().toString() == "Purify" || ABOT2.getSelectedItem().toString() == "opp Thunderstruck" || ABOT2.getSelectedItem().toString() == "Strenght X" || ABOT2.getSelectedItem().toString() == "Strenght =" || ABOT2.getSelectedItem().toString() == "Strenght +" || ABOT2.getSelectedItem().toString() == "Strenght -" || ABOT2.getSelectedItem().toString() == "DMG +" || ABOT2.getSelectedItem().toString() == "Blessing" || ABOT2.getSelectedItem().toString() == "Berserk" || ABOT2.getSelectedItem().toString() == "Thorn" || ABOT2.getSelectedItem().toString() == "Riposte" || ABOT2.getSelectedItem().toString() == "Eclipse" || ABOT2.getSelectedItem().toString() == "opp Powder" || ABOT2.getSelectedItem().toString() == "Terror" || ABOT2.getSelectedItem().toString() == "Stench" || ABOT2.getSelectedItem().toString() == "Frostbite" || ABOT2.getSelectedItem().toString() == "Rune" || ABOT2.getSelectedItem().toString() == "Bulwark" || ABOT2.getSelectedItem().toString() == "Ice" || ABOT2.getSelectedItem().toString() == "opp DMG -" || ABOT2.getSelectedItem().toString() == "opp Strenght =" || ABOT2.getSelectedItem().toString() == "opp Strenght /" || ABOT2.getSelectedItem().toString() == "opp Strenght +" || ABOT2.getSelectedItem().toString() == "opp Strenght -") {
            ALLBOT2.setVisible(true);
        } else {
            ALLBOT2.setVisible(false);
        }
        if (ABOT2.getSelectedItem().toString() == "Dice Trigger" || ABOT2.getSelectedItem().toString() == "opp Dice Trigger") {
            cbx1DTBOT2.setVisible(true);
            cbx2DTBOT2.setVisible(true);
            LBL23.setVisible(true);
            txtDTBOT2.setVisible(true);
        } else {
            cbx1DTBOT2.setVisible(false);
            cbx2DTBOT2.setVisible(false);
            LBL23.setVisible(false);
            txtDTBOT2.setVisible(false);

        }
    }//GEN-LAST:event_ABOT2ActionPerformed

    private void MTOP1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MTOP1ActionPerformed
        if (MTOP1.getSelectedItem().toString() == "more per") {
            MPTOP1.setVisible(true);
            txtMPTOP1.setVisible(true);
            lblTXTTOP1.setVisible(true);
            lblTXTTOP1.setText("per " + MPTOP1.getSelectedItem().toString());
        } else {
            MPTOP1.setVisible(false);
            txtMPTOP1.setVisible(false);
            lblTXTTOP1.setVisible(false);
        }
    }//GEN-LAST:event_MTOP1ActionPerformed

    private void MTOP2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MTOP2ActionPerformed
        if (MTOP2.getSelectedItem().toString() == "more per") {
            MPTOP2.setVisible(true);
            txtMPTOP2.setVisible(true);
            lblTXTTOP2.setVisible(true);
            lblTXTTOP2.setText("per " + MPTOP2.getSelectedItem().toString());
        } else {
            MPTOP2.setVisible(false);
            txtMPTOP2.setVisible(false);
            lblTXTTOP2.setVisible(false);
        }
    }//GEN-LAST:event_MTOP2ActionPerformed

    private void MMID1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MMID1ActionPerformed
        if (MMID1.getSelectedItem().toString() == "more per") {
            MPMID1.setVisible(true);
            txtMPMID1.setVisible(true);
            lblTXTMID1.setVisible(true);
            lblTXTMID1.setText("per " + MPMID1.getSelectedItem().toString());
        } else {
            MPMID1.setVisible(false);
            txtMPMID1.setVisible(false);
            lblTXTMID1.setVisible(false);
        }
    }//GEN-LAST:event_MMID1ActionPerformed

    private void MMID2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MMID2ActionPerformed
        if (MMID2.getSelectedItem().toString() == "more per") {
            MPMID2.setVisible(true);
            txtMPMID2.setVisible(true);
            lblTXTMID2.setVisible(true);
            lblTXTMID2.setText("per " + MPMID2.getSelectedItem().toString());
        } else {
            MPMID2.setVisible(false);
            txtMPMID2.setVisible(false);
            lblTXTMID2.setVisible(false);
        }
    }//GEN-LAST:event_MMID2ActionPerformed

    private void MBOT1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MBOT1ActionPerformed
        if (MBOT1.getSelectedItem().toString() == "more per") {
            MPBOT1.setVisible(true);
            txtMPBOT1.setVisible(true);
            lblTXTBOT1.setVisible(true);
            lblTXTBOT1.setText("per " + MPBOT1.getSelectedItem().toString());
        } else {
            MPBOT1.setVisible(false);
            txtMPBOT1.setVisible(false);
            lblTXTBOT1.setVisible(false);
        }
    }//GEN-LAST:event_MBOT1ActionPerformed

    private void MBOT2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MBOT2ActionPerformed
        if (MBOT2.getSelectedItem().toString() == "more per") {
            MPBOT2.setVisible(true);
            txtMPBOT2.setVisible(true);
            lblTXTBOT2.setVisible(true);
            lblTXTBOT2.setText("per " + MPBOT2.getSelectedItem().toString());
        } else {
            MPBOT2.setVisible(false);
            txtMPBOT2.setVisible(false);
            lblTXTBOT2.setVisible(false);
        }
    }//GEN-LAST:event_MBOT2ActionPerformed

    private void MPTOP1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MPTOP1ActionPerformed
        lblTXTTOP1.setText("per " + MPTOP1.getSelectedItem().toString());
    }//GEN-LAST:event_MPTOP1ActionPerformed

    private void MPMID1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MPMID1ActionPerformed
        lblTXTMID1.setText("per " + MPMID1.getSelectedItem().toString());
    }//GEN-LAST:event_MPMID1ActionPerformed

    private void MPBOT1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MPBOT1ActionPerformed
        lblTXTBOT1.setText("per " + MPBOT1.getSelectedItem().toString());
    }//GEN-LAST:event_MPBOT1ActionPerformed

    private void MPTOP2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MPTOP2ActionPerformed
        lblTXTTOP2.setText("per " + MPTOP2.getSelectedItem().toString());
    }//GEN-LAST:event_MPTOP2ActionPerformed

    private void MPMID2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MPMID2ActionPerformed
        lblTXTMID2.setText("per " + MPMID2.getSelectedItem().toString());
    }//GEN-LAST:event_MPMID2ActionPerformed

    private void MPBOT2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MPBOT2ActionPerformed
        lblTXTBOT2.setText("per " + MPBOT2.getSelectedItem().toString());
    }//GEN-LAST:event_MPBOT2ActionPerformed

    public static void main(String args[]) {

        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Tudinho.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        //</editor-fold>
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                new Tudinho().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JComboBox ABOT1;
    private javax.swing.JComboBox ABOT2;
    private javax.swing.JButton ADDBOT;
    private javax.swing.JButton ADDMID;
    private javax.swing.JButton ADDTOP;
    private javax.swing.JCheckBox ALLBOT1;
    private javax.swing.JCheckBox ALLBOT2;
    private javax.swing.JCheckBox ALLMID1;
    private javax.swing.JCheckBox ALLMID2;
    private javax.swing.JCheckBox ALLTOP1;
    private javax.swing.JCheckBox ALLTOP2;
    private javax.swing.JComboBox AMID1;
    private javax.swing.JComboBox AMID2;
    private javax.swing.JComboBox ATOP1;
    private javax.swing.JComboBox ATOP2;
    private javax.swing.JComboBox DBOT1;
    private javax.swing.JComboBox DBOT2;
    private javax.swing.JComboBox DBOT3;
    private javax.swing.JComboBox DMID1;
    private javax.swing.JComboBox DMID2;
    private javax.swing.JComboBox DMID3;
    private javax.swing.JComboBox DROLL1;
    private javax.swing.JComboBox DROLL2;
    private javax.swing.JComboBox DROLL3;
    private javax.swing.JComboBox DROLL4;
    private javax.swing.JComboBox DROLL5;
    private javax.swing.JComboBox DROLL6;
    private javax.swing.JComboBox DTOP1;
    private javax.swing.JComboBox DTOP2;
    private javax.swing.JComboBox DTOP3;
    private javax.swing.JLabel LBL18;
    private javax.swing.JLabel LBL19;
    private javax.swing.JLabel LBL20;
    private javax.swing.JLabel LBL21;
    private javax.swing.JLabel LBL22;
    private javax.swing.JLabel LBL23;
    private javax.swing.JComboBox MBOT1;
    private javax.swing.JComboBox MBOT2;
    private javax.swing.JComboBox MMID1;
    private javax.swing.JComboBox MMID2;
    private javax.swing.JComboBox MPBOT1;
    private javax.swing.JComboBox MPBOT2;
    private javax.swing.JComboBox MPMID1;
    private javax.swing.JComboBox MPMID2;
    private javax.swing.JComboBox MPTOP1;
    private javax.swing.JComboBox MPTOP2;
    private javax.swing.JComboBox MTOP1;
    private javax.swing.JComboBox MTOP2;
    private javax.swing.JTextField NBOT1;
    private javax.swing.JTextField NBOT2;
    private javax.swing.JTextField NHIT1;
    private javax.swing.JTextField NHIT2;
    private javax.swing.JTextField NHIT3;
    private javax.swing.JTextField NHITS;
    private javax.swing.JTextField NHITS1;
    private javax.swing.JTextField NMID1;
    private javax.swing.JTextField NMID2;
    private javax.swing.JTextField NTOP1;
    private javax.swing.JTextField NTOP2;
    private javax.swing.JButton RMVBOT;
    private javax.swing.JButton RMVMID;
    private javax.swing.JButton RMVTOP;
    private javax.swing.JComboBox Typibility1;
    private javax.swing.JComboBox Typibility2;
    private javax.swing.JComboBox Typibility3;
    private javax.swing.JComboBox Typibility4;
    private javax.swing.JComboBox Typibility5;
    private javax.swing.JComboBox Typibility6;
    private javax.swing.JTextField VBOT1;
    private javax.swing.JTextField VBOT2;
    private javax.swing.JTextField VMID1;
    private javax.swing.JTextField VMID2;
    private javax.swing.JTextField VTOP1;
    private javax.swing.JTextField VTOP2;
    private javax.swing.JButton btnCalc;
    private javax.swing.JComboBox cbx1DTBOT1;
    private javax.swing.JComboBox cbx1DTBOT2;
    private javax.swing.JComboBox cbx1DTMID1;
    private javax.swing.JComboBox cbx1DTMID2;
    private javax.swing.JComboBox cbx1DTTOP1;
    private javax.swing.JComboBox cbx1DTTOP2;
    private javax.swing.JComboBox cbx2DTBOT1;
    private javax.swing.JComboBox cbx2DTBOT2;
    private javax.swing.JComboBox cbx2DTMID1;
    private javax.swing.JComboBox cbx2DTMID2;
    private javax.swing.JComboBox cbx2DTTOP1;
    private javax.swing.JComboBox cbx2DTTOP2;
    private javax.swing.JComboBox ckbBOT1;
    private javax.swing.JComboBox ckbBOT2;
    private javax.swing.JComboBox ckbMID1;
    private javax.swing.JComboBox ckbMID2;
    private javax.swing.JComboBox ckbTOP1;
    private javax.swing.JComboBox ckbTOP2;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JRadioButton jRadioButton1;
    private javax.swing.JRadioButton jRadioButton2;
    private javax.swing.JLabel lblTXTBOT1;
    private javax.swing.JLabel lblTXTBOT2;
    private javax.swing.JLabel lblTXTMID1;
    private javax.swing.JLabel lblTXTMID2;
    private javax.swing.JLabel lblTXTTOP1;
    private javax.swing.JLabel lblTXTTOP2;
    private javax.swing.JLabel lblopp;
    private javax.swing.JTextField txtDTBOT1;
    private javax.swing.JTextField txtDTBOT2;
    private javax.swing.JTextField txtDTMID1;
    private javax.swing.JTextField txtDTMID2;
    private javax.swing.JTextField txtDTTOP1;
    private javax.swing.JTextField txtDTTOP2;
    private javax.swing.JTextField txtMPBOT1;
    private javax.swing.JTextField txtMPBOT2;
    private javax.swing.JTextField txtMPMID1;
    private javax.swing.JTextField txtMPMID2;
    private javax.swing.JTextField txtMPTOP1;
    private javax.swing.JTextField txtMPTOP2;
    private javax.swing.JTextField txtoppstr;
    private javax.swing.JTextField txtstr;
    // End of variables declaration//GEN-END:variables
}
