Advertisement
Guest User

CHODE BLaCK HAT CHODE

a guest
Nov 27th, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. import javax.swing.JFrame;
  4. import javax.swing.JOptionPane;
  5.  
  6. public class message {
  7. public static void sayInitiating_Project_Method(){
  8. JOptionPane.showMessageDialog(null, "Initiating_Project_Method");
  9. }
  10.  
  11. public static void print (String Stuff){
  12.  
  13. System.out.println(Stuff);
  14. }
  15. public static int square (int x){
  16. return (x * x);
  17. }//end square
  18. public static void main(String[] args){
  19. // TODO Auto-generated method stub
  20. Scanner input = new Scanner (System.in);
  21. String ip;
  22. String social_security_number;
  23. String names;
  24. String credit_card;
  25.  
  26. JOptionPane.showMessageDialog(null, "Welcome to the Hacker Corperation.");
  27.  
  28. ip = JOptionPane.showInputDialog(null, "Please put your ip address in this pop up window.");
  29.  
  30. social_security_number = JOptionPane.showInputDialog(null, "Now your social security number.");
  31.  
  32. names = JOptionPane.showInputDialog(null, "Now put in your name, middle name, and last name.");
  33.  
  34. credit_card = JOptionPane.showInputDialog(null, "Now put in your credit card number");
  35.  
  36. JOptionPane.showMessageDialog(null, "You have been hacked, here is your ip address, it is " + ip);
  37. JOptionPane.showMessageDialog(null, "Now here is your social security number, it is " + social_security_number);
  38. JOptionPane.showMessageDialog(null, "Your name, middle name, and last name are " + names);
  39. JOptionPane.showMessageDialog(null, "Now here is your credit card number " + credit_card);
  40. JOptionPane.showMessageDialog(null, "Thank you for letting us hack you, have a good day.");
  41. }
  42. }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement