Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 43.23 KB | None | 0 0
  1. package org;
  2.  
  3. import java.util.HashMap;
  4. import java.util.Random;
  5. import javax.swing.JFrame;
  6. import javax.swing.JRadioButton;
  7.  
  8. public class Main extends javax.swing.JFrame {
  9.  
  10.     /** Creates new form Main */
  11.     public Main() {
  12.         initComponents();
  13.     }
  14.     Random generator = new Random();
  15.  
  16.     public String get(String[] array) {
  17.         int rnd = generator.nextInt(array.length);
  18.         return array[rnd];
  19.     }
  20.     public HashMap<JRadioButton, Integer> lvlNeeded = new HashMap<JRadioButton, Integer>();
  21.     public HashMap<Integer, Integer> xpNeeded = new HashMap<Integer, Integer>();
  22.     public HashMap<Integer, Integer> xpReq = new HashMap<Integer, Integer>();
  23.     public int damage;
  24.    
  25.     int xp = 10;
  26.    
  27.     int lvl = xp / 10;
  28.     public String Name = "unknown";
  29.     public String[] oNames = {"Joeseph", "George", "Thomas", "Jerry", "Grant", "Mason"};
  30.     public String oName = get(oNames);
  31.     public boolean[] radioInUse = new boolean[10];
  32.     //public int lvl = 1;
  33.     public int Health = 100;
  34.     public int oHealth = 100;
  35.     public String HP = Integer.toString(Health);
  36.     public String oHP = Integer.toString(oHealth);
  37.     public boolean isPlayerTurn;
  38.  
  39.     public void displayError(String error, int w, int h) {
  40.         jDialog1.setVisible(true);
  41.         jDialog1.setSize(w, h);
  42.         jLabel3.setText(error);
  43.  
  44.  
  45.     }
  46.  
  47.  
  48.     public void displayFrame(JFrame frame, int w, int h) {
  49.         frame.setVisible(true);
  50.         frame.setSize(w, h);
  51.     }
  52.  
  53.     public void xpGive() {
  54.         int xpToGive = damage;
  55.          xp = xpToGive + xp;
  56.  
  57.     }
  58.  
  59.     public void reset() {
  60.  
  61.         HP = Integer.toString(Health);
  62.         oHP = Integer.toString(oHealth);
  63.         Name = jTextField1.getText();
  64.         jLabel4.setText(Name);
  65.         jLabel6.setText(HP);
  66.         jLabel7.setText(oName);
  67.         jLabel9.setText(oHP);
  68.         lvlNeeded.put(jRadioButton1, 1);
  69.         lvlNeeded.put(jRadioButton2, 2);
  70.         lvlNeeded.put(jRadioButton3, 3);
  71.         lvlNeeded.put(jRadioButton4, 4);
  72.         lvlNeeded.put(jRadioButton5, 5);
  73.         lvlNeeded.put(jRadioButton6, 6);
  74.         lvlNeeded.put(jRadioButton7, 7);
  75.         lvlNeeded.put(jRadioButton8, 8);
  76.         lvlNeeded.put(jRadioButton9, 9);
  77.         lvlNeeded.put(jRadioButton10, 10);
  78.  
  79.        try {
  80.         lvl = xp / 10;
  81.         } catch (Exception e) {
  82.  
  83.         }
  84.      
  85.     }
  86.     public boolean canUseCurrentGun(JRadioButton jRadioButton) {
  87.         if(lvl >= lvlNeeded.get(jRadioButton)) {
  88.             return true;
  89.         } else {
  90.             return false;
  91.         }
  92.     }
  93.  
  94.  
  95.  /*   public void getlvl(int xp) {
  96.        if(xpNeeded.get(xp) >= xpReq.get(xp)) {
  97.            lvl = xpNeeded.get(xp);
  98.  
  99.        }
  100.     } */
  101. //public boolean canUseCurrentGun2 = false;
  102.     public void oTurn() {
  103.         if (!isPlayerTurn) {
  104.             damage = getDamage(1, 5);
  105.             int Health2 = Health - damage;
  106.             Health = Health2;
  107.             reset();
  108.             jTextArea1.append(oName + " dealt " + damage + " on " + Name + " leaving you with " + HP + " health.\n");
  109.             //jTextArea1.setText(oName + " dealt " + damage + " on " + Name + " leaving you with " + HP + " health.");
  110.             isPlayerTurn = true;
  111.            
  112.         } else {
  113.             return;
  114.         }
  115.     }
  116.  
  117.     @SuppressWarnings("unchecked")
  118.     // <editor-fold defaultstate="collapsed" desc="Generated Code">
  119.     private void initComponents() {
  120.  
  121.         jFrame1 = new javax.swing.JFrame();
  122.         jLabel4 = new javax.swing.JLabel();
  123.         jLabel5 = new javax.swing.JLabel();
  124.         jLabel6 = new javax.swing.JLabel();
  125.         jButton5 = new javax.swing.JButton();
  126.         jLabel7 = new javax.swing.JLabel();
  127.         jLabel8 = new javax.swing.JLabel();
  128.         jLabel9 = new javax.swing.JLabel();
  129.         jScrollPane1 = new javax.swing.JScrollPane();
  130.         jTextArea1 = new javax.swing.JTextArea();
  131.         jDialog1 = new javax.swing.JDialog();
  132.         jLabel3 = new javax.swing.JLabel();
  133.         jFrame2 = new javax.swing.JFrame();
  134.         jRadioButton1 = new javax.swing.JRadioButton();
  135.         jRadioButton2 = new javax.swing.JRadioButton();
  136.         jRadioButton3 = new javax.swing.JRadioButton();
  137.         jRadioButton4 = new javax.swing.JRadioButton();
  138.         jRadioButton5 = new javax.swing.JRadioButton();
  139.         jRadioButton6 = new javax.swing.JRadioButton();
  140.         jRadioButton7 = new javax.swing.JRadioButton();
  141.         jRadioButton8 = new javax.swing.JRadioButton();
  142.         jRadioButton9 = new javax.swing.JRadioButton();
  143.         jRadioButton10 = new javax.swing.JRadioButton();
  144.         jScrollPane2 = new javax.swing.JScrollPane();
  145.         jTextArea2 = new javax.swing.JTextArea();
  146.         jButton6 = new javax.swing.JButton();
  147.         buttonGroup1 = new javax.swing.ButtonGroup();
  148.         jFrame3 = new javax.swing.JFrame();
  149.         jLabel10 = new javax.swing.JLabel();
  150.         jLabel11 = new javax.swing.JLabel();
  151.         jLabel12 = new javax.swing.JLabel();
  152.         jFrame4 = new javax.swing.JFrame();
  153.         jScrollPane3 = new javax.swing.JScrollPane();
  154.         jTextArea3 = new javax.swing.JTextArea();
  155.         jLabel1 = new javax.swing.JLabel();
  156.         jButton1 = new javax.swing.JButton();
  157.         jButton2 = new javax.swing.JButton();
  158.         jButton3 = new javax.swing.JButton();
  159.         jButton4 = new javax.swing.JButton();
  160.         jLabel2 = new javax.swing.JLabel();
  161.         jTextField1 = new javax.swing.JTextField();
  162.  
  163.         jFrame1.setTitle("Single player ");
  164.  
  165.         jLabel4.setText("Couldn't find name");
  166.  
  167.         jLabel5.setText("Health:");
  168.  
  169.         jLabel6.setText("?");
  170.  
  171.         jButton5.setText("Attack");
  172.         jButton5.addActionListener(new java.awt.event.ActionListener() {
  173.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  174.                 jButton5ActionPerformed(evt);
  175.             }
  176.         });
  177.  
  178.         jLabel7.setText("Couldn't generate name");
  179.  
  180.         jLabel8.setText("Health:");
  181.  
  182.         jLabel9.setText("?");
  183.  
  184.         jTextArea1.setColumns(20);
  185.         jTextArea1.setRows(5);
  186.         jScrollPane1.setViewportView(jTextArea1);
  187.  
  188.         javax.swing.GroupLayout jFrame1Layout = new javax.swing.GroupLayout(jFrame1.getContentPane());
  189.         jFrame1.getContentPane().setLayout(jFrame1Layout);
  190.         jFrame1Layout.setHorizontalGroup(
  191.             jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  192.             .addGroup(jFrame1Layout.createSequentialGroup()
  193.                 .addContainerGap()
  194.                 .addGroup(jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  195.                     .addGroup(jFrame1Layout.createSequentialGroup()
  196.                         .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 538, Short.MAX_VALUE)
  197.                         .addContainerGap())
  198.                     .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE)
  199.                     .addGroup(jFrame1Layout.createSequentialGroup()
  200.                         .addGroup(jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  201.                             .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE)
  202.                             .addGroup(jFrame1Layout.createSequentialGroup()
  203.                                 .addComponent(jLabel5)
  204.                                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  205.                                 .addComponent(jLabel6)))
  206.                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 268, Short.MAX_VALUE)
  207.                         .addGroup(jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  208.                             .addComponent(jLabel7)
  209.                             .addGroup(jFrame1Layout.createSequentialGroup()
  210.                                 .addComponent(jLabel8)
  211.                                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  212.                                 .addComponent(jLabel9)))
  213.                         .addContainerGap(18, Short.MAX_VALUE))))
  214.         );
  215.         jFrame1Layout.setVerticalGroup(
  216.             jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  217.             .addGroup(jFrame1Layout.createSequentialGroup()
  218.                 .addContainerGap()
  219.                 .addGroup(jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  220.                     .addComponent(jLabel4)
  221.                     .addComponent(jLabel7))
  222.                 .addGroup(jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  223.                     .addGroup(jFrame1Layout.createSequentialGroup()
  224.                         .addGap(2, 2, 2)
  225.                         .addGroup(jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  226.                             .addComponent(jLabel5)
  227.                             .addComponent(jLabel6)))
  228.                     .addGroup(jFrame1Layout.createSequentialGroup()
  229.                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  230.                         .addGroup(jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  231.                             .addComponent(jLabel8)
  232.                             .addComponent(jLabel9))))
  233.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
  234.                 .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 46, javax.swing.GroupLayout.PREFERRED_SIZE)
  235.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  236.                 .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE)
  237.                 .addContainerGap())
  238.         );
  239.  
  240.         jDialog1.setTitle("Error!");
  241.  
  242.         jLabel3.setText("Unhandled error.");
  243.  
  244.         javax.swing.GroupLayout jDialog1Layout = new javax.swing.GroupLayout(jDialog1.getContentPane());
  245.         jDialog1.getContentPane().setLayout(jDialog1Layout);
  246.         jDialog1Layout.setHorizontalGroup(
  247.             jDialog1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  248.             .addGroup(jDialog1Layout.createSequentialGroup()
  249.                 .addContainerGap()
  250.                 .addComponent(jLabel3)
  251.                 .addContainerGap(308, Short.MAX_VALUE))
  252.         );
  253.         jDialog1Layout.setVerticalGroup(
  254.             jDialog1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  255.             .addGroup(jDialog1Layout.createSequentialGroup()
  256.                 .addContainerGap()
  257.                 .addComponent(jLabel3)
  258.                 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
  259.         );
  260.  
  261.         buttonGroup1.add(jRadioButton1);
  262.         jRadioButton1.setText("Punch");
  263.         jRadioButton1.addMouseListener(new java.awt.event.MouseAdapter() {
  264.             public void mouseEntered(java.awt.event.MouseEvent evt) {
  265.                 jRadioButton1MouseEntered(evt);
  266.             }
  267.         });
  268.         jRadioButton1.addActionListener(new java.awt.event.ActionListener() {
  269.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  270.                 jRadioButton1ActionPerformed(evt);
  271.             }
  272.         });
  273.  
  274.         buttonGroup1.add(jRadioButton2);
  275.         jRadioButton2.setText("Kick");
  276.         jRadioButton2.addActionListener(new java.awt.event.ActionListener() {
  277.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  278.                 jRadioButton2ActionPerformed(evt);
  279.             }
  280.         });
  281.  
  282.         buttonGroup1.add(jRadioButton3);
  283.         jRadioButton3.setText("Bat");
  284.         jRadioButton3.addActionListener(new java.awt.event.ActionListener() {
  285.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  286.                 jRadioButton3ActionPerformed(evt);
  287.             }
  288.         });
  289.  
  290.         buttonGroup1.add(jRadioButton4);
  291.         jRadioButton4.setText("Knife");
  292.         jRadioButton4.addActionListener(new java.awt.event.ActionListener() {
  293.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  294.                 jRadioButton4ActionPerformed(evt);
  295.             }
  296.         });
  297.  
  298.         buttonGroup1.add(jRadioButton5);
  299.         jRadioButton5.setText("Machete");
  300.         jRadioButton5.addActionListener(new java.awt.event.ActionListener() {
  301.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  302.                 jRadioButton5ActionPerformed(evt);
  303.             }
  304.         });
  305.  
  306.         buttonGroup1.add(jRadioButton6);
  307.         jRadioButton6.setText("9mm Pistol");
  308.         jRadioButton6.addActionListener(new java.awt.event.ActionListener() {
  309.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  310.                 jRadioButton6ActionPerformed(evt);
  311.             }
  312.         });
  313.  
  314.         buttonGroup1.add(jRadioButton7);
  315.         jRadioButton7.setText(".45 Revolver");
  316.         jRadioButton7.addActionListener(new java.awt.event.ActionListener() {
  317.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  318.                 jRadioButton7ActionPerformed(evt);
  319.             }
  320.         });
  321.  
  322.         buttonGroup1.add(jRadioButton8);
  323.         jRadioButton8.setText("Glock");
  324.         jRadioButton8.addActionListener(new java.awt.event.ActionListener() {
  325.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  326.                 jRadioButton8ActionPerformed(evt);
  327.             }
  328.         });
  329.  
  330.         buttonGroup1.add(jRadioButton9);
  331.         jRadioButton9.setText("12 Guage");
  332.         jRadioButton9.addActionListener(new java.awt.event.ActionListener() {
  333.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  334.                 jRadioButton9ActionPerformed(evt);
  335.             }
  336.         });
  337.  
  338.         buttonGroup1.add(jRadioButton10);
  339.         jRadioButton10.setText("Uzi");
  340.         jRadioButton10.addActionListener(new java.awt.event.ActionListener() {
  341.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  342.                 jRadioButton10ActionPerformed(evt);
  343.             }
  344.         });
  345.  
  346.         jTextArea2.setColumns(20);
  347.         jTextArea2.setRows(5);
  348.         jScrollPane2.setViewportView(jTextArea2);
  349.  
  350.         jButton6.setText("Confirm");
  351.         jButton6.addActionListener(new java.awt.event.ActionListener() {
  352.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  353.                 jButton6ActionPerformed(evt);
  354.             }
  355.         });
  356.  
  357.         javax.swing.GroupLayout jFrame2Layout = new javax.swing.GroupLayout(jFrame2.getContentPane());
  358.         jFrame2.getContentPane().setLayout(jFrame2Layout);
  359.         jFrame2Layout.setHorizontalGroup(
  360.             jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  361.             .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jFrame2Layout.createSequentialGroup()
  362.                 .addContainerGap()
  363.                 .addGroup(jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  364.                     .addComponent(jRadioButton3)
  365.                     .addComponent(jRadioButton4)
  366.                     .addComponent(jRadioButton2)
  367.                     .addComponent(jRadioButton5)
  368.                     .addComponent(jRadioButton1))
  369.                 .addGap(8, 8, 8)
  370.                 .addGroup(jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  371.                     .addComponent(jRadioButton6)
  372.                     .addComponent(jRadioButton9)
  373.                     .addComponent(jRadioButton10)
  374.                     .addComponent(jRadioButton8)
  375.                     .addComponent(jRadioButton7))
  376.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 42, Short.MAX_VALUE)
  377.                 .addGroup(jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
  378.                     .addComponent(jButton6, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
  379.                     .addComponent(jScrollPane2, javax.swing.GroupLayout.Alignment.LEADING))
  380.                 .addContainerGap())
  381.         );
  382.         jFrame2Layout.setVerticalGroup(
  383.             jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  384.             .addGroup(jFrame2Layout.createSequentialGroup()
  385.                 .addContainerGap()
  386.                 .addGroup(jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
  387.                     .addComponent(jScrollPane2, javax.swing.GroupLayout.Alignment.LEADING)
  388.                     .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jFrame2Layout.createSequentialGroup()
  389.                         .addGroup(jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  390.                             .addComponent(jRadioButton1)
  391.                             .addComponent(jRadioButton6))
  392.                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  393.                         .addGroup(jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  394.                             .addComponent(jRadioButton2)
  395.                             .addComponent(jRadioButton7))
  396.                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  397.                         .addGroup(jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  398.                             .addComponent(jRadioButton3)
  399.                             .addComponent(jRadioButton8))
  400.                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  401.                         .addGroup(jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  402.                             .addComponent(jRadioButton4)
  403.                             .addComponent(jRadioButton9))
  404.                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  405.                         .addGroup(jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  406.                             .addComponent(jRadioButton5)
  407.                             .addComponent(jRadioButton10))))
  408.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  409.                 .addComponent(jButton6)
  410.                 .addContainerGap(111, Short.MAX_VALUE))
  411.         );
  412.  
  413.         jLabel10.setText("Name:");
  414.  
  415.         jLabel11.setText("Level:");
  416.  
  417.         jLabel12.setText("Experience:");
  418.  
  419.         javax.swing.GroupLayout jFrame3Layout = new javax.swing.GroupLayout(jFrame3.getContentPane());
  420.         jFrame3.getContentPane().setLayout(jFrame3Layout);
  421.         jFrame3Layout.setHorizontalGroup(
  422.             jFrame3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  423.             .addGroup(jFrame3Layout.createSequentialGroup()
  424.                 .addContainerGap()
  425.                 .addGroup(jFrame3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  426.                     .addComponent(jLabel10)
  427.                     .addComponent(jLabel11)
  428.                     .addComponent(jLabel12))
  429.                 .addContainerGap(333, Short.MAX_VALUE))
  430.         );
  431.         jFrame3Layout.setVerticalGroup(
  432.             jFrame3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  433.             .addGroup(jFrame3Layout.createSequentialGroup()
  434.                 .addContainerGap()
  435.                 .addComponent(jLabel10)
  436.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  437.                 .addComponent(jLabel11)
  438.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  439.                 .addComponent(jLabel12)
  440.                 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
  441.         );
  442.  
  443.         jTextArea3.setColumns(20);
  444.         jTextArea3.setRows(5);
  445.         jTextArea3.setText("Level 1: punch\nLevel 2: kick\nLevel 3: bat\nLevel 4: knife\nLevel 5: machete\nLevel 6: 9mm pistol\nLevel 7: .45 revolver\nLevel 8: \nLevel 9:\nLevel 10:");
  446.         jScrollPane3.setViewportView(jTextArea3);
  447.  
  448.         javax.swing.GroupLayout jFrame4Layout = new javax.swing.GroupLayout(jFrame4.getContentPane());
  449.         jFrame4.getContentPane().setLayout(jFrame4Layout);
  450.         jFrame4Layout.setHorizontalGroup(
  451.             jFrame4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  452.             .addGroup(jFrame4Layout.createSequentialGroup()
  453.                 .addContainerGap()
  454.                 .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 326, Short.MAX_VALUE)
  455.                 .addContainerGap())
  456.         );
  457.         jFrame4Layout.setVerticalGroup(
  458.             jFrame4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  459.             .addGroup(jFrame4Layout.createSequentialGroup()
  460.                 .addContainerGap()
  461.                 .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 197, Short.MAX_VALUE)
  462.                 .addContainerGap())
  463.         );
  464.  
  465.         setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
  466.         setTitle("ExtremeFighter #0.2");
  467.  
  468.         jLabel1.setText("Welcome to ExtremeFighter");
  469.  
  470.         jButton1.setText("Single Player");
  471.         jButton1.addActionListener(new java.awt.event.ActionListener() {
  472.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  473.                 jButton1ActionPerformed(evt);
  474.             }
  475.         });
  476.  
  477.         jButton2.setText("Player Stats");
  478.         jButton2.addActionListener(new java.awt.event.ActionListener() {
  479.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  480.                 jButton2ActionPerformed(evt);
  481.             }
  482.         });
  483.  
  484.         jButton3.setText("Player Unlocks");
  485.         jButton3.addActionListener(new java.awt.event.ActionListener() {
  486.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  487.                 jButton3ActionPerformed(evt);
  488.             }
  489.         });
  490.  
  491.         jButton4.setText("Multiplayer");
  492.  
  493.         jLabel2.setText("Enter your name to continue: ");
  494.  
  495.         javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
  496.         getContentPane().setLayout(layout);
  497.         layout.setHorizontalGroup(
  498.             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  499.             .addGroup(layout.createSequentialGroup()
  500.                 .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  501.                     .addGroup(layout.createSequentialGroup()
  502.                         .addGap(128, 128, 128)
  503.                         .addComponent(jLabel1))
  504.                     .addGroup(layout.createSequentialGroup()
  505.                         .addContainerGap()
  506.                         .addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, 388, Short.MAX_VALUE))
  507.                     .addGroup(layout.createSequentialGroup()
  508.                         .addContainerGap()
  509.                         .addComponent(jButton2, javax.swing.GroupLayout.DEFAULT_SIZE, 388, Short.MAX_VALUE))
  510.                     .addGroup(layout.createSequentialGroup()
  511.                         .addContainerGap()
  512.                         .addComponent(jButton3, javax.swing.GroupLayout.DEFAULT_SIZE, 388, Short.MAX_VALUE))
  513.                     .addGroup(layout.createSequentialGroup()
  514.                         .addContainerGap()
  515.                         .addComponent(jButton4, javax.swing.GroupLayout.DEFAULT_SIZE, 388, Short.MAX_VALUE))
  516.                     .addGroup(layout.createSequentialGroup()
  517.                         .addContainerGap()
  518.                         .addComponent(jLabel2)
  519.                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  520.                         .addComponent(jTextField1, javax.swing.GroupLayout.DEFAULT_SIZE, 240, Short.MAX_VALUE)))
  521.                 .addContainerGap())
  522.         );
  523.         layout.setVerticalGroup(
  524.             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  525.             .addGroup(layout.createSequentialGroup()
  526.                 .addContainerGap()
  527.                 .addComponent(jLabel1)
  528.                 .addGap(18, 18, 18)
  529.                 .addComponent(jButton1)
  530.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  531.                 .addComponent(jButton2)
  532.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  533.                 .addComponent(jButton3)
  534.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  535.                 .addComponent(jButton4)
  536.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
  537.                 .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  538.                     .addComponent(jLabel2)
  539.                     .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
  540.                 .addContainerGap())
  541.         );
  542.  
  543.         pack();
  544.     }// </editor-fold>
  545.  
  546.     private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
  547.         Name = jTextField1.getText();
  548.         String valid = "abcdefghijklmnopqrstuvwxyz1234567890";
  549.         char[] validChars = valid.toLowerCase().toCharArray();
  550.  
  551.         char[] nameChars = Name.toLowerCase().toCharArray();
  552.         boolean invalidName = false;
  553.         for (int i = 0; i < nameChars.length; i++) {
  554.             boolean invalid = true;
  555.             for (int j = 0; j < validChars.length; j++) {
  556.                 if (nameChars[i] == validChars[j]) {
  557.                     if(Name.equals("")){
  558.                         invalid = true;
  559.                     }
  560.                     invalid = false;
  561.                 }
  562.             }
  563.  
  564.             if (invalid) {
  565.                 invalidName = true;
  566.                 break;
  567.             }
  568.         }
  569.         if (invalidName) {
  570.             displayError("Invalid name!", 500, 100);
  571.         } else {
  572.             displayFrame(jFrame1, 558, 252);
  573.             isPlayerTurn = true;
  574.             reset();
  575.         }
  576.     }                                        
  577.  
  578.     private void jRadioButton3ActionPerformed(java.awt.event.ActionEvent evt) {                                              
  579.         if (lvlNeeded.containsKey(jRadioButton3)) {
  580.             int lvlNeed = lvlNeeded.get(jRadioButton3);
  581.             if (lvl >= lvlNeed) {
  582.                 radioInUse[3] = true;
  583.                 if(canUseCurrentGun(jRadioButton3)) {
  584.               canUseCurrentGun2 = true;
  585.                 }
  586.             } else {
  587.                 int neededlvl = lvlNeeded.get(jRadioButton3);
  588.                 displayError("You need a lvl of " + neededlvl + ".", 500, 100);
  589.                 return;
  590.             }
  591.         } else {
  592.             displayError("Could not find lvl needed.", 500, 50);
  593.         }
  594.  
  595.     }                                            
  596.  
  597.     private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {                                        
  598.         if (isPlayerTurn) {
  599.             displayFrame(jFrame2, 460, 266);
  600.         } else {
  601.             displayError("It is not your turn!", 500, 100);
  602.         }
  603.     }                                        
  604.  
  605.     private void jRadioButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                              
  606.         if (lvlNeeded.containsKey(jRadioButton1)) {
  607.             int lvlNeed = lvlNeeded.get(jRadioButton1);
  608.             if (lvl >= lvlNeed) {
  609.                 radioInUse[1] = true;
  610.                   if(canUseCurrentGun(jRadioButton1)) {
  611.               canUseCurrentGun2 = true;
  612.                 }
  613.             } else {
  614.                 int neededlvl = lvlNeeded.get(jRadioButton1);
  615.                 displayError("You need a lvl of " + neededlvl + ".", 500, 100);
  616.                 return;
  617.             }
  618.         } else {
  619.             displayError("Could not find lvl needed.", 500, 100);
  620.         }
  621.     }                                            
  622.  
  623.     private void jRadioButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                              
  624.         if (lvlNeeded.containsKey(jRadioButton2)) {
  625.             int lvlNeed = lvlNeeded.get(jRadioButton2);
  626.             if (lvl >= lvlNeed) {
  627.                 radioInUse[2] = true;
  628.                  if(canUseCurrentGun(jRadioButton2)) {
  629.               canUseCurrentGun2 = true;
  630.                 }
  631.             } else {
  632.                 int neededlvl = lvlNeeded.get(jRadioButton2);
  633.                 displayError("You need a lvl of " + neededlvl + ".", 500, 100);
  634.                 return;
  635.             }
  636.         } else {
  637.             displayError("Could not find lvl needed.", 500, 100);
  638.         }
  639.     }                                            
  640.  
  641.     private void jRadioButton4ActionPerformed(java.awt.event.ActionEvent evt) {                                              
  642.         if (lvlNeeded.containsKey(jRadioButton4)) {
  643.             int lvlNeed = lvlNeeded.get(jRadioButton4);
  644.             if (lvl >= lvlNeed) {
  645.                 radioInUse[4] = true;
  646.                 if(canUseCurrentGun(jRadioButton4)) {
  647.               canUseCurrentGun2 = true;
  648.                 }
  649.             } else {
  650.                 int neededlvl = lvlNeeded.get(jRadioButton4);
  651.                 displayError("You need a lvl of " + neededlvl + ".", 500, 100);
  652.                 return;
  653.             }
  654.         } else {
  655.             displayError("Could not find lvl needed.", 500, 100);
  656.         }
  657.     }                                            
  658.  
  659.     private void jRadioButton5ActionPerformed(java.awt.event.ActionEvent evt) {                                              
  660.         if (lvlNeeded.containsKey(jRadioButton5)) {
  661.             int lvlNeed = lvlNeeded.get(jRadioButton5);
  662.             if (lvl >= lvlNeed) {
  663.                 radioInUse[5] = true;
  664.                  if(canUseCurrentGun(jRadioButton5)) {
  665.               canUseCurrentGun2 = true;
  666.                 }
  667.             } else {
  668.                 int neededlvl = lvlNeeded.get(jRadioButton5);
  669.                 displayError("You need a lvl of " + neededlvl + ".", 500, 100);
  670.                 return;
  671.             }
  672.         } else {
  673.             displayError("Could not find lvl needed.", 500, 100);
  674.         }
  675.     }                                            
  676.  
  677.     private void jRadioButton6ActionPerformed(java.awt.event.ActionEvent evt) {                                              
  678.         if (lvlNeeded.containsKey(jRadioButton6)) {
  679.             int lvlNeed = lvlNeeded.get(jRadioButton6);
  680.             if (lvl >= lvlNeed) {
  681.                 radioInUse[6] = true;
  682.               if(canUseCurrentGun(jRadioButton6)) {
  683.               canUseCurrentGun2 = true;
  684.                 }
  685.             } else {
  686.                 int neededlvl = lvlNeeded.get(jRadioButton6);
  687.                 displayError("You need a lvl of " + neededlvl + ".", 500, 100);
  688.                 return;
  689.             }
  690.         } else {
  691.             displayError("Could not find lvl needed.", 500, 100);
  692.         }
  693.     }                                            
  694.  
  695.     private void jRadioButton7ActionPerformed(java.awt.event.ActionEvent evt) {                                              
  696.         if (lvlNeeded.containsKey(jRadioButton7)) {
  697.             int lvlNeed = lvlNeeded.get(jRadioButton7);
  698.             if (lvl >= lvlNeed) {
  699.                 radioInUse[7] = true;
  700.                  if(canUseCurrentGun(jRadioButton7)) {
  701.               canUseCurrentGun2 = true;
  702.                 }
  703.             } else {
  704.                 int neededlvl = lvlNeeded.get(jRadioButton7);
  705.                 displayError("You need a lvl of " + neededlvl + ".", 500, 100);
  706.                 return;
  707.             }
  708.         } else {
  709.             displayError("Could not find lvl needed.", 500, 100);
  710.         }
  711.     }                                            
  712.  
  713.     private void jRadioButton8ActionPerformed(java.awt.event.ActionEvent evt) {                                              
  714.         if (lvlNeeded.containsKey(jRadioButton8)) {
  715.             int lvlNeed = lvlNeeded.get(jRadioButton8);
  716.             if (lvl >= lvlNeed) {
  717.                 radioInUse[8] = true;
  718.                    if(canUseCurrentGun(jRadioButton8)) {
  719.               canUseCurrentGun2 = true;
  720.                 }
  721.             } else {
  722.                 int neededlvl = lvlNeeded.get(jRadioButton8);
  723.                 displayError("You need a lvl of " + neededlvl + ".", 500, 100);
  724.                 return;
  725.             }
  726.         } else {
  727.             displayError("Could not find lvl needed.", 500, 100);
  728.         }
  729.     }                                            
  730.  
  731.     private void jRadioButton9ActionPerformed(java.awt.event.ActionEvent evt) {                                              
  732.         if (lvlNeeded.containsKey(jRadioButton9)) {
  733.             int lvlNeed = lvlNeeded.get(jRadioButton9);
  734.             if (lvl >= lvlNeed) {
  735.                 radioInUse[9] = true;
  736.                    if(canUseCurrentGun(jRadioButton9)) {
  737.               canUseCurrentGun2 = true;
  738.                 }
  739.             } else {
  740.                 int neededlvl = lvlNeeded.get(jRadioButton9);
  741.                 displayError("You need a lvl of " + neededlvl + ".", 500, 100);
  742.                 return;
  743.             }
  744.         } else {
  745.             displayError("Could not find lvl needed.", 500, 100);
  746.         }
  747.     }                                            
  748.  
  749.     private void jRadioButton10ActionPerformed(java.awt.event.ActionEvent evt) {                                              
  750.         if (lvlNeeded.containsKey(jRadioButton10)) {
  751.             int lvlNeed = lvlNeeded.get(jRadioButton10);
  752.             if (lvl >= lvlNeed) {
  753.                 radioInUse[10] = true;
  754.                    if(canUseCurrentGun(jRadioButton10)) {
  755.               canUseCurrentGun2 = true;
  756.                 }
  757.             } else {
  758.                 int neededlvl = lvlNeeded.get(jRadioButton10);
  759.                 displayError("You need a lvl of " + neededlvl + ".", 500, 100);
  760.                 return;
  761.             }
  762.         } else {
  763.             displayError("Could not find lvl needed.", 500, 100);
  764.         }
  765.     }                                              
  766.     public int getDamage(int min, int max) {
  767.         int random = min + (int) (Math.random() * max);
  768.         return random;
  769.     }
  770.  
  771.     private void jRadioButton1MouseEntered(java.awt.event.MouseEvent evt) {                                          
  772.         // TODO add your handling code here:
  773.     }                                          
  774. public boolean canUseCurrentGun2;
  775.     private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {                                        
  776.  
  777.        if(canUseCurrentGun2) {
  778.  
  779.         if (radioInUse[1]) {
  780.             jFrame2.setVisible(false);
  781.             damage = getDamage(1, 5);
  782.             int oHealth2 = oHealth - damage;
  783.             oHealth = oHealth2;
  784.             reset();
  785.             jTextArea1.append(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health.\n");
  786.             //jTextArea1.setText(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health");
  787.             isPlayerTurn = false;
  788.             oTurn();
  789.             canUseCurrentGun2 = false;
  790.         }
  791.  
  792.  else if (radioInUse[2]) {
  793.             jFrame2.setVisible(false);
  794.             damage = getDamage(3, 8);
  795.             int oHealth2 = oHealth - damage;
  796.             oHealth = oHealth2;
  797.             reset();
  798.             jTextArea1.append(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health.\n");
  799.             //jTextArea1.setText(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health");
  800.             isPlayerTurn = false;
  801.             oTurn();
  802.             canUseCurrentGun2 = false;
  803.         }
  804.  
  805.  else if (radioInUse[3]) {
  806.             jFrame2.setVisible(false);
  807.             damage = getDamage(5, 15);
  808.             int oHealth2 = oHealth - damage;
  809.             oHealth = oHealth2;
  810.             reset();
  811.             jTextArea1.append(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health.\n");
  812.             //jTextArea1.setText(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health");
  813.             isPlayerTurn = false;
  814.             oTurn();
  815.             canUseCurrentGun2 = false;
  816.         }
  817.  else if (radioInUse[4]) {
  818.             jFrame2.setVisible(false);
  819.             damage = getDamage(10, 20);
  820.             int oHealth2 = oHealth - damage;
  821.             oHealth = oHealth2;
  822.             reset();
  823.             jTextArea1.append(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health.\n");
  824.             //jTextArea1.setText(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health");
  825.             isPlayerTurn = false;
  826.             oTurn();
  827.             canUseCurrentGun2 = false;
  828.         }
  829.  else if (radioInUse[5]) {
  830.             jFrame2.setVisible(false);
  831.             damage = getDamage(15, 25);
  832.             int oHealth2 = oHealth - damage;
  833.             oHealth = oHealth2;
  834.             reset();
  835.             jTextArea1.append(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health.\n");
  836.             //jTextArea1.setText(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health");
  837.             isPlayerTurn = false;
  838.             oTurn();
  839.             canUseCurrentGun2 = false;
  840.         }
  841.  else if (radioInUse[6]) {
  842.             jFrame2.setVisible(false);
  843.             damage = getDamage(10, 30);
  844.             int oHealth2 = oHealth - damage;
  845.             oHealth = oHealth2;
  846.             reset();
  847.             jTextArea1.append(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health.\n");
  848.             //jTextArea1.setText(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health");
  849.             isPlayerTurn = false;
  850.             oTurn();
  851.             canUseCurrentGun2 = false;
  852.         }
  853.  else if (radioInUse[7]) {
  854.             jFrame2.setVisible(false);
  855.             damage = getDamage(15, 40);
  856.             int oHealth2 = oHealth - damage;
  857.             oHealth = oHealth2;
  858.             reset();
  859.             jTextArea1.append(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health.\n");
  860.             //jTextArea1.setText(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health");
  861.             isPlayerTurn = false;
  862.             oTurn();
  863.             canUseCurrentGun2 = false;
  864.         }
  865.  else if (radioInUse[8]) {
  866.             jFrame2.setVisible(false);
  867.             damage = getDamage(20, 45);
  868.             int oHealth2 = oHealth - damage;
  869.             oHealth = oHealth2;
  870.             reset();
  871.             jTextArea1.append(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health.\n");
  872.             //jTextArea1.setText(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health");
  873.             isPlayerTurn = false;
  874.             canUseCurrentGun2 = false;
  875.             oTurn();
  876.         }
  877.  else if (radioInUse[9]) {
  878.             jFrame2.setVisible(false);
  879.             damage = getDamage(25, 50);
  880.             int oHealth2 = oHealth - damage;
  881.             oHealth = oHealth2;
  882.             reset();
  883.             jTextArea1.append(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health.\n");
  884.             //jTextArea1.setText(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health");
  885.             isPlayerTurn = false;
  886.             oTurn();
  887.             canUseCurrentGun2 = false;
  888.         }
  889.         else if(radioInUse[10]) {
  890.             jFrame2.setVisible(false);
  891.             damage = getDamage(30, 50);
  892.             int oHealth2 = oHealth - damage;
  893.             oHealth = oHealth2;
  894.             reset();
  895.             jTextArea1.append(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health.\n");
  896.             //jTextArea1.setText(Name + " dealt " + damage + " on " + oName + " leaving him with " + oHP + " health");
  897.             isPlayerTurn = false;
  898.             canUseCurrentGun2 = false;
  899.             oTurn();
  900.         } else {
  901.             displayError("You do not meet the requirements to use this weapon. 1 ", 500, 100);
  902.         }
  903.         } else {
  904.             displayError("Error #2, you may need to re-select the attack option. ", 500, 100);
  905.         }
  906.         xpGive();
  907.     }                                        
  908.  
  909.     private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
  910.        try {
  911.         displayFrame(jFrame3, 500, 200);
  912.         Name = jTextField1.getText();
  913.         jLabel10.setText("Name: " + Name);
  914.         jLabel11.setText("lvl: " + lvl);
  915.         jLabel12.setText("Experience: " + xp);
  916.         } catch(Exception e) {
  917.             //hehehhehehehheh
  918.         }
  919.  
  920.     }
  921.  
  922.     private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
  923.         displayFrame(jFrame4, 400, 300);
  924.         jTextArea3.setEditable(false);
  925.  
  926.     }
  927.  
  928.     /**
  929.      * @param args the command line arguments
  930.      */
  931.     public static void main(String args[]) {
  932.         java.awt.EventQueue.invokeLater(new Runnable() {
  933.  
  934.             public void run() {
  935.                 new Main().setVisible(true);
  936.             }
  937.         });
  938.     }
  939.     // Variables declaration - do not modify
  940.     private javax.swing.ButtonGroup buttonGroup1;
  941.     private javax.swing.JButton jButton1;
  942.     private javax.swing.JButton jButton2;
  943.     private javax.swing.JButton jButton3;
  944.     private javax.swing.JButton jButton4;
  945.     private javax.swing.JButton jButton5;
  946.     private javax.swing.JButton jButton6;
  947.     private javax.swing.JDialog jDialog1;
  948.     private javax.swing.JFrame jFrame1;
  949.     private javax.swing.JFrame jFrame2;
  950.     private javax.swing.JFrame jFrame3;
  951.     private javax.swing.JFrame jFrame4;
  952.     private javax.swing.JLabel jLabel1;
  953.     private javax.swing.JLabel jLabel10;
  954.     private javax.swing.JLabel jLabel11;
  955.     private javax.swing.JLabel jLabel12;
  956.     private javax.swing.JLabel jLabel2;
  957.     private javax.swing.JLabel jLabel3;
  958.     private javax.swing.JLabel jLabel4;
  959.     private javax.swing.JLabel jLabel5;
  960.     private javax.swing.JLabel jLabel6;
  961.     private javax.swing.JLabel jLabel7;
  962.     private javax.swing.JLabel jLabel8;
  963.     private javax.swing.JLabel jLabel9;
  964.     private javax.swing.JRadioButton jRadioButton1;
  965.     private javax.swing.JRadioButton jRadioButton10;
  966.     private javax.swing.JRadioButton jRadioButton2;
  967.     private javax.swing.JRadioButton jRadioButton3;
  968.     private javax.swing.JRadioButton jRadioButton4;
  969.     private javax.swing.JRadioButton jRadioButton5;
  970.     private javax.swing.JRadioButton jRadioButton6;
  971.     private javax.swing.JRadioButton jRadioButton7;
  972.     private javax.swing.JRadioButton jRadioButton8;
  973.     private javax.swing.JRadioButton jRadioButton9;
  974.     private javax.swing.JScrollPane jScrollPane1;
  975.     private javax.swing.JScrollPane jScrollPane2;
  976.     private javax.swing.JScrollPane jScrollPane3;
  977.     private javax.swing.JTextArea jTextArea1;
  978.     private javax.swing.JTextArea jTextArea2;
  979.     private javax.swing.JTextArea jTextArea3;
  980.     private javax.swing.JTextField jTextField1;
  981.     // End of variables declaration
  982. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement