Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- import javax.swing.JFrame;
- import javax.swing.JOptionPane;
- public class message {
- public static void sayInitiating_Project_Method(){
- JOptionPane.showMessageDialog(null, "Initiating_Project_Method");
- }
- public static void print (String Stuff){
- System.out.println(Stuff);
- }
- public static int square (int x){
- return (x * x);
- }//end square
- public static void main(String[] args){
- // TODO Auto-generated method stub
- Scanner input = new Scanner (System.in);
- String ip;
- String social_security_number;
- String names;
- String credit_card;
- JOptionPane.showMessageDialog(null, "Welcome to the Hacker Corperation.");
- ip = JOptionPane.showInputDialog(null, "Please put your ip address in this pop up window.");
- social_security_number = JOptionPane.showInputDialog(null, "Now your social security number.");
- names = JOptionPane.showInputDialog(null, "Now put in your name, middle name, and last name.");
- credit_card = JOptionPane.showInputDialog(null, "Now put in your credit card number");
- JOptionPane.showMessageDialog(null, "You have been hacked, here is your ip address, it is " + ip);
- JOptionPane.showMessageDialog(null, "Now here is your social security number, it is " + social_security_number);
- JOptionPane.showMessageDialog(null, "Your name, middle name, and last name are " + names);
- JOptionPane.showMessageDialog(null, "Now here is your credit card number " + credit_card);
- JOptionPane.showMessageDialog(null, "Thank you for letting us hack you, have a good day.");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement