Total Pageviews

Showing posts with label source. Show all posts
Showing posts with label source. Show all posts

Sunday, May 10, 2015

The source code of my Robotics Application written in Java

Free MacBook Pro 17 inch i7 2014
<div dir="ltr" style="text-align: left;" trbidi="on">
import java.awt.*;

import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import javax.swing.*;

public class Robotics {





 static int decision1;
 static int decision2;
 static int decision3;
 static int decision4;
 static int decision5;
 static int decision6;
 static int decision7;
 static int decision8;
 static int decision9;

 static int decision70;
 static int decision72;
 static int decision73;
 static int decision74;
 static int decision75;
 static int decision76;
 static int decision77;
 static int decision78;
 static int decision79;
 static int decision80;
 static int decision81;
 static int decision82;
 static int decision83;
 static int decision84;
 static int decision111;


 static String input1;
 static String input2;
 static String input3;
 static String input4;
 static String input5;
 static String input6;
    static String input7;
    static String input8;
    static String input9;
    static String input10;
    static String input11;
    static String input12;
    static String input13;
    static String input14;
    static String input15;
    static String input16;
    static String input17;
    static String input18;
    static String input19;
    static String input20;
    static String input21;
    static String input22;
    static String input23;
 static String input24;
 static String input25;
 static String input26;
    static String input27;
    static String input28;
    static String input29;
    static String input30;
    static String input31;
    static String input32;
    static String input33;
    static String input34;
    static String input35;
    static String input36;
    static String input37;
    static String input38;
    static String input39;
    static String input40;
    static String input41;
    static String input42;
    static String input43;
    static String input44;
    static String input45;
    static String input46;
    static String input47;
    static String input48;
    static String input49;
    static String input50;
    static String input51;
    static String input52;
    static String input53;
    static String input54;
    static String input55;
    static String input56;
    static String input57;
    static String input58;
    static String input59;
    static String input60;
    static String input61;
    static String input62;
    static String input63;
    static String input64;
    static String input65;
    static String input66;
    static String input67;
    static String input68;
    static String input69;
    static String input70;
 
    static String input71;
    static String input72;
    static String input73;
 
    static String input74;
    static String input75;
    static String input76;
    static String input77;
    static String input78;
    static String input79;
    static String input80;
    static String input81;
    static String input82;
    static String input83;
    static String input84;
    static String input85;
    static String input86;
    static String input87;
    static String input88;
    static String input89;
    static String input90;
    static String input91;
    static String input92;
    static String input93;
    static String input94;
    static String input95;
    static String input96;
    static String input97;
    static String input98;
    static String input99;
    static String input100;
    static String input101;
    static String input102;
    static String input103;
    static String input104;
    static String input105;
    static String input106;
    static String input107;
    static String input108;
    static String input109;
    static String input110;
    static String input111;
 
 static JFrame frame;

 public static void main(String [] args)
 {
 
       SwingUtilities.invokeLater(new Runnable()
       {
        public void run()
        {
         displayJFrame();
       
        }
   



   

   
   
 });


 }


 static void displayJFrame()
 {
 
  frame = new JFrame("Pacific Nautilus!");
 
  JButton showDialogButton1 = new JButton("Move north 2 feet");
 
  showDialogButton1.addActionListener(new ActionListener()
  {
     
   public void actionPerformed(ActionEvent e)
   {
   
    JDialog d = new JDialog(frame, "Hi");
    d.setLocationRelativeTo(frame);
    d.setVisible(true);
   
   
   }
  });

  JButton showDialogButton2 = new JButton("Move south 2 feet");
 
  showDialogButton2.addActionListener(new ActionListener()
  {
   public void actionPerformed(ActionEvent e)
   {
   
   
   
    JDialog e1 = new JDialog(frame, "Action Done");
    e1.setLocationRelativeTo(frame);
    e1.setVisible(true);
   
    input1 = JOptionPane.showInputDialog(null,"Please enter the non-cartesian data's length\nPlease enter one floating point decimal number for Joules of energy", decision1);
    decision1 = Integer.parseInt(input1);
    JOptionPane.showMessageDialog(frame, "Thank you Dr. Samuel Etchie M.D.\n" + "Dr. Samuel Etchie M.D. #: \n" + decision1);
   
    frame.setPreferredSize(new Dimension(1388,920));
    frame.setBackground(Color.BLACK);
    frame.pack();
    frame.setLocationRelativeTo(null);
    frame.setVisible(true);
   
   
   }
 
 
 
 
 
 
  });
 
 
  JButton showDialogButton3 = new JButton("You can Click if you want");
 
  showDialogButton3.addActionListener(new ActionListener()
  {
   public void actionPerformed(ActionEvent e)
   {
   
   
   
    JDialog e2 = new JDialog(frame, "Click if you want");
    e2.setLocationRelativeTo(frame);
    e2.setVisible(true);
   
    input2 = JOptionPane.showInputDialog(null,"Dr. Samuel Etchie M.D., please enter your Food and Drug Administration License Number", decision2);
   
    decision2 = Integer.parseInt(input2);
   
    JOptionPane.showMessageDialog(frame, "Thank you Dr. Samuel Etchie M.D.\n" + "Dr. Samuel Etchie M.D. FDA License #: \n" + decision2);
   
    frame.setPreferredSize(new Dimension(1388,920));
    frame.setBackground(Color.YELLOW);
    frame.pack();
    frame.setLocationRelativeTo(null);
    frame.setVisible(true);
   }
 
 
  });
 
  JButton showDialogButton4 = new JButton("Please don't click here!");
 
  showDialogButton4.addActionListener(new ActionListener()
  {
   public void actionPerformed(ActionEvent e)
   {
   
   
   
   
    JDialog e3 = new JDialog(frame, "If you dare, then click");
    e3.setLocationRelativeTo(frame);
    e3.setVisible(true);
   
    input3 = JOptionPane.showInputDialog(null,"Dr. Eric Steckler M.D., please enter your Food and Drug Administration License Number", decision3);
   
    decision3 = Integer.parseInt(input3);
   
    JOptionPane.showMessageDialog(frame, "Thank you Dr. Eric Steckler M.D.\n" + "Dr. Eric Steckler M.D. FDA License #: \n" + decision3);
   
    JOptionPane.showInputDialog(null,"Dr. Eric Steckler M.D., please enter your street number address in McLean, VA of 22101 of beautiful northern Virginia\n");
    decision4 = Integer.parseInt(input3);
   
   
    JOptionPane.showMessageDialog(frame, "Thank you Dr. Eric Steckler M.D., but that will be all, but your true address of your medical practice is at:\n" + "1483 Chain Bridge Road Suite 304 McLean, VA 22101, and phone number: 703 734 1633");
   }
 
 
  });
 
 
 
  JButton showDialogButton5 = new JButton("Why do did you click");
 
  showDialogButton5.addActionListener(new ActionListener()
  {
 
   public void actionPerformed(ActionEvent e)
 
   {
   
   
   
    JDialog e4 = new JDialog(frame, "You clicked?");
    e4.setLocationRelativeTo(frame);
    e4.setVisible(true);
   
    input4 = JOptionPane.showInputDialog(null,"Dr. Carlos Collin M.D., please enter your Food and Drug Administration License Number", decision5);
   
    decision5 = Integer.parseInt(input4);
   
    JOptionPane.showMessageDialog(frame, "Thank you Dr. Carlos Collin M.D.\n" + "Dr. Carlos Colins M.D. FDA License #: \n" + decision5);
   
    JOptionPane.showInputDialog(null, "Dr. Carlos Collin M.D., please enter your street number address in Fairfax, VA of beautiful Northern Virginia");
    decision5 = Integer.parseInt(input4);
   
    JOptionPane.showMessageDialog(frame, "Thank you Dr. Carlos Collin M.D., but that will be all, but your true address of your medical practice is at:\n" +  "8500 Executive Park Ave Suite 200 Fairfax, VA 22031, and phone number: 703 698 5220");
   
   
   }
 
 
 
 
 
 
 
 });
 
  JButton showDialogButton6 = new JButton("CLICK!, CLICK!, CLICK!");
 

 
 
 
  showDialogButton6.addActionListener(new ActionListener()
  {
   public void actionPerformed(ActionEvent e)
   {
   
   
   
    JDialog e5 = new JDialog(frame, "You clicked?");
    e5.setLocationRelativeTo(frame);
    e5.setVisible(true);
   
    input5 = JOptionPane.showInputDialog(null, "Dr. Coltin Hand M.D., please enter your medical license Number", decision6);
   
       decision6 = Integer.parseInt(input5);
   
       JOptionPane.showMessageDialog(frame, "Thank you Dr. Coltin Hand M.D.\n" + "Dr. Coltin Hand M.D. medical license #: \n" + decision6);
   
       JOptionPane.showInputDialog(null, "Dr. Coltin Hand M.D., please enter your street number address in Annandale, VA");
       decision6 = Integer.parseInt(input5);
   
       JOptionPane.showMessageDialog(frame, "Thank you Dr. Coltin Hand M.D., but that will be all, but your true address is at:\n" + "3340 Woodburn Rd Annandale, VA 22003 and phone number 703 573 0523");
   
   
   
   
   }
 
  });
 
  JButton showButtonDialog7 = new JButton("If you click then you will get hacked");
 
  showButtonDialog7.addActionListener(new ActionListener()
    {
 
  public void actionPerformed(ActionEvent e)
  {
 
 
 
   JDialog e6 = new JDialog(frame, "HACKED!");
   e6.setLocationRelativeTo(frame);
   e6.setVisible(true);
 
   input6 = JOptionPane.showInputDialog(frame, "Enter 1 to retrieve Dr. Samuel Etchie's medical license number\nEnter 2 to retrieve Dr. Carlos Collin's medical license number\nEnter 3 to retrieve Dr. Eric Steckler's Food and Drug Administration number\nEnter 4 to retrieve Dr. Coltin Hand's medical license number");
            decision6 = Integer.parseInt(input6);
         
            if(decision6 == 1)
             JOptionPane.showMessageDialog(frame, "Dr. Samuel Etchie's medical license number is: " + input2);
 
            if(decision6 == 2)
             JOptionPane.showMessageDialog(frame, "Dr. Carlos Collin's medical license number is: " + input4);
       
            if(decision6 == 3)
             JOptionPane.showMessageDialog(frame, "Dr. Eric Steckler's Food and Drug Administration License number is: " + input3);
 
            if(decision6 == 4)
          JOptionPane.showMessageDialog(frame, "Dr. Coltin Hand's medical license number is: " + input5);
         
  }
 
    });
 
 
  JButton showDialogButton8 = new JButton("Click to enter a nurse's name into the database");
  showDialogButton8.addActionListener(new ActionListener()
  {
 
 
  public void actionPerformed(ActionEvent e)
  {
 
   JDialog e7 = new JDialog(frame, "Thank you");
   e7.setLocationRelativeTo(frame);
   e7.setVisible(true);
 
 
   input7 = JOptionPane.showInputDialog(null, "Enter the number of nurses that you want to store in the database\nPlease enter only numbers from 1 through 13\nFor instance if you want to store 13 nurses into the database, then you would type 13 and then Enter or click the ok button");
 
   decision7 = Integer.parseInt(input7);
 
   if(decision7 == 1)
   {
    input8 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
   }else
    if(decision7 == 2){
     input9 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
        input10 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
    }else
    if(decision7 == 3){
     input11 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
        input12 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
        input13 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
     
    }else   if(decision7 == 4){
         input14 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input15 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input16 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input17 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           
    }else    if(decision7 == 5){
                input18 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                   input19 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                   input20 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                   input21 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                   input22 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
    }else if(decision7 == 6){
    input23 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       input24 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       input25 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       input26 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       input27 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                input28 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
 
    }else if(decision7 == 7){
                input29 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       input30 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       input31 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       input32 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       input33 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                input34 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                input35 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
             
             
    }else if(decision7 == 7){
             
                input36 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       input37 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       input38 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       input39 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       input40 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                input41 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                input42 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
             
             
    }else if(decision7 == 8){
                 input43 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                    input44 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                    input45 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                    input46 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input47 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input48 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input49 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input50 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                 
    }else if(decision7 == 9){
                    input51 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                    input52 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                    input53 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                    input54 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input55 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input56 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input57 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input58 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input59 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       
    }else if(decision7 == 10){
           input60 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                    input61 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                    input62 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                    input63 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input64 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input65 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input66 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input67 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input68 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           input69 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
    }
       
           else if(decision7 == 11){
            input70 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
            input71 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input72 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input73 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input74 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input75 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input76 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input77 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input78 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input79 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input80 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
       
           }
           else if(decision7 == 12){
            input81 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
            input82 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
            input83 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
            input84 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
            input85 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
            input86 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
            input87 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
            input88 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
            input89 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
            input90 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
            input91 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
                        input92 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           }
  else if(decision7 == 13)
  {
               input93 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input94 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input95 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input96 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input97 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input98 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input99 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input100 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input101 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input102 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input103 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input104 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
               input105 = JOptionPane.showInputDialog(null, "Enter the name of the nurse");
           
  }
 
  else
 
 
   System.exit(0);
  }
  });
   if(decision7 == 1)
   {
   
    JOptionPane.showMessageDialog(frame, "Database updated:");
    JOptionPane.showMessageDialog(frame, "                 ");
    JOptionPane.showMessageDialog(frame, "R.N. #1: " + input8);
   }
   else if(decision7 == 2)
   {
   
    JOptionPane.showMessageDialog(frame, "Database updated:");
    JOptionPane.showMessageDialog(frame, "                 ");
    JOptionPane.showMessageDialog(frame, "R.N. #1: " + input9);
    JOptionPane.showMessageDialog(frame, "R.N. #2: " + input10);
   
   }
   else if(decision7 == 3)
   {
    JOptionPane.showMessageDialog(frame, "Database updated:");
    JOptionPane.showMessageDialog(frame, "                 ");
    JOptionPane.showMessageDialog(frame, "R.N. #1: " + input11);
    JOptionPane.showMessageDialog(frame, "R.N. #2: " + input12);
    JOptionPane.showMessageDialog(frame, "R.N. #3: " + input13);
   
   
   }
 
   else if(decision7 == 4)
  {
 
   JOptionPane.showMessageDialog(frame, "Database updated:");
   JOptionPane.showMessageDialog(frame, "                 ");
   JOptionPane.showMessageDialog(frame, "R.N. #1: " + input14);
   JOptionPane.showMessageDialog(frame, "R.N. #2: " + input15);
   JOptionPane.showMessageDialog(frame, "R.N. #3: " + input16);
   JOptionPane.showMessageDialog(frame, "R.N. #4: " + input17);
 
 
  }
   else if(decision7 == 5)
   {
    JOptionPane.showMessageDialog(frame, "Database updated:");
    JOptionPane.showMessageDialog(frame, "                 ");
    JOptionPane.showMessageDialog(frame, "R.N. #1 " + input18);
    JOptionPane.showMessageDialog(frame, "R.N. #2 " + input19);
    JOptionPane.showMessageDialog(frame, "R.N. #3 " + input20);
    JOptionPane.showMessageDialog(frame, "R.N. #4 " + input21);
    JOptionPane.showMessageDialog(frame, "R.N. #5 " + input22);
   
   
   }
 
   else if(decision7 == 6)
   {
   
    JOptionPane.showMessageDialog(frame, "Database updated:");
    JOptionPane.showMessageDialog(frame, "                 ");
    JOptionPane.showMessageDialog(frame, "R.N. #1 " + input23);
    JOptionPane.showMessageDialog(frame, "R.N. #2 " + input24);
    JOptionPane.showMessageDialog(frame, "R.N. #3 " + input25);
    JOptionPane.showMessageDialog(frame, "R.N. #4 " + input26);
    JOptionPane.showMessageDialog(frame, "R.N. #5 " + input27);
    JOptionPane.showMessageDialog(frame, "R.N. #6 " + input28);
   
 
   }
   else if(decision7 == 7)
   {   JOptionPane.showMessageDialog(frame, "Database updated:");
       JOptionPane.showMessageDialog(frame, "                 ");
    JOptionPane.showMessageDialog(frame, "R.N. #1 " + input29);
    JOptionPane.showMessageDialog(frame, "R.N. #2 " + input30);
    JOptionPane.showMessageDialog(frame, "R.N. #3 " + input31);
    JOptionPane.showMessageDialog(frame, "R.N. #4 " + input32);
    JOptionPane.showMessageDialog(frame, "R.N. #5 " + input33);
    JOptionPane.showMessageDialog(frame, "R.N. #6 " + input34);
    JOptionPane.showMessageDialog(frame, "R.N. #7 " + input35);
   

   }
   else if(decision7 == 8)
   {
    JOptionPane.showMessageDialog(frame, "Database updated:");
    JOptionPane.showMessageDialog(frame, "                 ");
    JOptionPane.showMessageDialog(frame, "R.N. #1 " + input36);
    JOptionPane.showMessageDialog(frame, "R.N. #2 " + input37);
    JOptionPane.showMessageDialog(frame, "R.N. #3 " + input38);
    JOptionPane.showMessageDialog(frame, "R.N. #4 " + input39);
    JOptionPane.showMessageDialog(frame, "R.N. #6 " + input40);
    JOptionPane.showMessageDialog(frame, "R.N. #7 " + input41);
    JOptionPane.showMessageDialog(frame, "R.N. #8 " + input42);

   
   }

 
   else if(decision7 == 9)
   {
    JOptionPane.showMessageDialog(frame, "Database updated:");
    JOptionPane.showMessageDialog(frame, "                 ");
    JOptionPane.showMessageDialog(frame, "R.N. #1 " + input43);
    JOptionPane.showMessageDialog(frame, "R.N. #2 " + input44);
    JOptionPane.showMessageDialog(frame, "R.N. #3 " + input45);
    JOptionPane.showMessageDialog(frame, "R.N. #4 " + input46);
    JOptionPane.showMessageDialog(frame, "R.N. #5 " + input47);
    JOptionPane.showMessageDialog(frame, "R.N. #6 " + input48);
    JOptionPane.showMessageDialog(frame, "R.N. #7 " + input49);
    JOptionPane.showMessageDialog(frame, "R.N. #8 " + input50);
    JOptionPane.showMessageDialog(frame, "R.N. #9 " + input51);
   
   
   }
 
   else if(decision7 == 10)
   {
    JOptionPane.showMessageDialog(frame, "Database updated:");
    JOptionPane.showMessageDialog(frame, "                 ");
    JOptionPane.showMessageDialog(frame, "R.N. #1 " + input52);
    JOptionPane.showMessageDialog(frame, "R.N. #1 " + input53);
    JOptionPane.showMessageDialog(frame, "R.N. #2 " + input54);
    JOptionPane.showMessageDialog(frame, "R.N. #3 " + input55);
    JOptionPane.showMessageDialog(frame, "R.N. #4 " + input56);
    JOptionPane.showMessageDialog(frame, "R.N. #5 " + input57);
    JOptionPane.showMessageDialog(frame, "R.N. #6 " + input58);
    JOptionPane.showMessageDialog(frame, "R.N. #7 " + input59);
    JOptionPane.showMessageDialog(frame, "R.N. #8 " + input60);
    JOptionPane.showMessageDialog(frame, "R.N. #9 " + input61);
   
   }
 


  JButton showJButtonDialog10 = new JButton("Dispense drugs to patient");
  showJButtonDialog10.addActionListener(new ActionListener()
    {
 
 
   public void actionPerformed(ActionEvent e)
   {
   
   
   
    JDialog e10 = new JDialog(frame, "Nerontin was dispensed");
       e10.setLocationRelativeTo(frame);
       e10.setVisible(true);
   
       input70 = JOptionPane.showInputDialog(null, "Please enter the miligram number of Nerontin to be dispensed");
   
       decision70 = Integer.parseInt(input70);
   
       input72 = JOptionPane.showInputDialog(null, "Please enter the current time\nPlease go ahead and enter a 2 digit number for the hour");
   
       decision72 = Integer.parseInt(input72);
   
       input76 = JOptionPane.showInputDialog(null, "Please enter the current time\nPlease go ahead and enter a 2 digit number for the minutes");
   
       decision76 = Integer.parseInt(input76);
   
       input77 = JOptionPane.showInputDialog(null, "Please enter the current time\nPlease go ahead and enter a 2 digit number for the seconds");
   
       decision77 = Integer.parseInt(input77);
   
       input78 = JOptionPane.showInputDialog(null, "Please enter AM if the current time is AM\nPlease enter PM if the current time is PM");
   
       decision78 = Integer.parseInt(input78);
   
       JOptionPane.showMessageDialog(frame, "Give the patient " + decision70 + " miligrams of Nerontin");
 
    input73 = JOptionPane.showInputDialog(null, "Please enter the last name of the patient that recieved" + decision70 + " miligrams of Nerontin");
   
    decision73 = Integer.parseInt(input73);
   
    input74 = JOptionPane.showInputDialog(null, "Please enter the first name of the patient that recieved" + decision70 + " miligrams of Nerontin");
   
    decision74 = Integer.parseInt(input74);
   
    JOptionPane.showMessageDialog(frame, decision73 + " " + decision74 + " " + "recieved" + " " + decision70 + "." + "  " + "Nerontin" + decision70 + "was dispensed at the time: " + decision72 + ":" + decision76 + ":" + decision77 + " " + decision78);
   
 
 
 
   
 
  }
    });
  JButton newButton1 = new JButton("Click here if you agree with the following statement:\nJohn B. Watson was a liar, fool, a non-gifted individual,\nand was a pasted by his peers in the early years of his work\nthat eventually amounted to his behavioral scientific discovery called\nBehaviorism, that did not benifit either the western or the eastern hemisphere\n");
  newButton1.addActionListener(new ActionListener()
  {
 
   public void actionPerformed(ActionEvent e)
   {
 
 
  JDialog e11 = new JDialog(frame, "John B. Watson was never in touch with reality and had a low Intelligence Quotient test score during the last decade of the 19th century");
  e11.setLocationRelativeTo(frame);
  e11.setVisible(true);
 
 
  input75 = JOptionPane.showInputDialog(null, "Please enter 1 if you think that John B. Watson was a liar\nPlease enter 2 if you think that John B. Watson was not a liar");
 
  decision75 = Integer.parseInt(input75);
 
 
 
 
 
 
 
 
  if(decision75 == 1){
 
   JOptionPane.showMessageDialog(frame, "John B. Watson sold the lie called Behaviorism to the world during the 1920's and 1930's, and the masses of the world bought the lie.");
 
 
  }
 
 
  else if(decision75 == 2){
 
 
   JOptionPane.showMessageDialog(frame, "John B. Watson was a facist");
 
 
  }
 
  else
 
 
   System.exit(0);
 
 
 
 
 
 
   }
  });

 
 
  JButton newJButtonDialog = new JButton("If you click here there is a slight chance that you will get hacked");
  newJButtonDialog.addActionListener(new ActionListener()
  {
 
 
 
 
  public void actionPerformed(ActionEvent e)
  {
 
   JDialog e12 = new JDialog(frame, "Hacked by the Black Hat Team...");
   e12.setLocationRelativeTo(frame);
   e12.setVisible(true);
 
   input80 = JOptionPane.showInputDialog(true, "If you judge the wrong person that was once wealthy, then you just might get permenately hacked!\nPlease enter 45 to continue.");
   JOptionPane.showInputDialog(frame, "I am a puppet for the CIA\nI don't have a salary with the CIA,\nbut I have been used by the CIA\nEnter the word Faifax County, VA is lame and dumb = lame\nType the word lame now!");
   JOptionPane.showInputDialog(frame, "The streets of McLean and Langley are beautiful and not dangerous\nI hope that all Clandestine Case Officers in nations abroad\nface a very difficult and dangerous road ahead!");
   JOptionPane.showInputDialog(frame, "Here, back at 934 Dolley Madison Blvd in Hate Town McLean/Langley (22101 and 22102)");
 
   JOptionPane.showInputDialog(frame, "PRINCE GEORGE'S COUNTY, MARYLAND!!!! UMD!!!!!");
   JOptionPane.showInputDialog(frame, "Terepin are number 1!");


  }
 
 
  });
 
 
 
 
 
   
 JButton newJButtonDialog3 = new JButton("If you click here your Operating System will be corrupted\nand you will need to buy a new computer");
  newJButtonDialog3.addActionListener(new ActionListener()
  {
 
   public void actionPerformed(ActionEvent e)
   {
   
    JDialog e13 = new JDialog(frame, "You certainly do now know how to read and follow simple instructions!");
    e13.setLocationRelativeTo(frame);
    e13.setVisible(true);
   
    input81 = JOptionPane.showInputDialog(true, "JUST GO AHEAD AN ENTER 1 TO CONTINUE.  YOU SORT OF HAVE TO NOW!  You Judged and critisized the wrong person today!");
    JOptionPane.showInputDialog(frame, "HACKED BY A CIA BRAT!!!");
   
   
   
   
   }
  });
 
  JButton newJButtonDia4 = new JButton("Please click here to active the vector calculator");
  newJButtonDia4.addActionListener(new ActionListener()
  {
 
 
   public void actionPerformed(ActionEvent e)
   {
    JDialog e14 = new JDialog(frame, "You don't know how to hack!\nHa Ha Ha Hah!");
    e14.setLocationRelativeTo(frame);
    e14.setVisible(true);
   
    input82 = JOptionPane.showInputDialog(true, "Do it!  I dare you!  Do it!  Hack it!\nGo ahead and hack it!  Just do it!");
    JOptionPane.showInputDialog(frame, "HACKED BE CIA BRAT!!!");
   
   
   
   
   
   
   
   
   }
 
 
 
 
 
 
 
  });
 
  JButton JButtonDia5 = new JButton("Please don't hack anymore, your slowing me down!");
  JButtonDia5.addActionListener(new ActionListener()
  {
 
   public void actionPerformed(ActionEvent e)
   {
    JDialog e15 = new JDialog(frame, "You should not hack so much and stay up all night!");
    e15.setLocationRelativeTo(frame);
    e15.setVisible(true);
   
    input83 = JOptionPane.showInputDialog(true, "What if you had to spend 20 years in prison because of a consequence of the hacking that you do?");
    JOptionPane.showInputDialog("So just go ahead and hack, just continue to hack, see where it takes you in life.");
    JOptionPane.showInputDialog(frame, "Hacked by CIA employee #2894927");
   
   
   
   
   
   
   
   
   }
 
  });
 
   JButton JButtonDia6 = new JButton("Do you want to use the forensnic psychological value of -- good cop -- or bad cop?");
   JButtonDia6.addActionListener(new ActionListener()
 
   {
   
    public void actionPerformed(ActionEvent e)
   
    {
     JDialog e16 = new JDialog(frame, "GOOD COP or BAD COP is not difficult psychology to understand!");
        e16.setLocationRelativeTo(frame);
        e16.setVisible(true);
     
        input84 = JOptionPane.showInputDialog(frame, "Please type 1 for GOOD COP or type 2 for BAD COP");
     
        decision84 = Integer.parseInt(input84);
     
     
        if(decision84 == 1)
        {
       
         JOptionPane.showInputDialog("GOOD COP was selected for psychological programming for Day #1");
       
       
       
       
       
       
       
        }
 
    }
    });
 
 
   JRadioButton radio = new JRadioButton("What are you attempting to pull off?");
   radio.addActionListener(new ActionListener()
   {
    public void actionPerformed(ActionEvent e)
    {
     JDialog e17 = new JDialog(frame, "Bad man, Good man!");
     e17.setLocationRelativeTo(frame);
     e17.setVisible(true);
   
   
     input111 = JOptionPane.showInputDialog(frame, "Please do not do that!");
   
     decision111 = Integer.parseInt(input111);
   
   
   
   
   
   
   
    }
   
   
 
 
   
  });
 


 
   
   
   
   
 


 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(showDialogButton1);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(showDialogButton2);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(showDialogButton3);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(showDialogButton4);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(showDialogButton5);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(showDialogButton6);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(showButtonDialog7);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(showDialogButton8);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(showJButtonDialog10);

  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(newButton1);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(newJButtonDialog);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(newJButtonDialog3);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(newJButtonDia4);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(JButtonDia5);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(JButtonDia6);
 
  frame.getContentPane().setLayout(new FlowLayout());
  frame.add(newButton1);
 
 frame.getContentPane().setLayout(new FlowLayout());
 frame.add(radio);
 
  frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
 
 
 
  frame.setPreferredSize(new Dimension(1388,920));
  frame.setBackground(Color.RED);
  frame.pack();
  frame.setLocationRelativeTo(null);
  frame.setVisible(true);
 
 
 }


    }
    </div>

Information about the Illuminati click here