Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Download: http://bit.ly/ScammerBingo1
- package scammerBingo;
- import java.awt.EventQueue;
- import java.awt.Font;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- import javax.swing.JButton;
- import javax.swing.JFrame;
- import javax.swing.JLabel;
- import javax.swing.JPanel;
- import javax.swing.JTextField;
- import javax.swing.border.EmptyBorder;
- import java.awt.Color;
- import javax.swing.UIManager;
- import java.awt.SystemColor;
- public class ScammerBingo1 extends JFrame {
- private JPanel contentPane;
- public static void main(String[] args) {
- EventQueue.invokeLater(new Runnable() {
- public void run() {
- try {
- ScammerBingo1 frame = new ScammerBingo1();
- frame.setVisible(true);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- });
- }
- public static int score = 0;
- private JTextField textField;
- public ScammerBingo1() {
- setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- setBounds(100, 100, 540, 369);
- contentPane = new JPanel();
- contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
- setContentPane(contentPane);
- contentPane.setLayout(null);
- JLabel lblScammerBingo = new JLabel("Scammer Bingo");
- lblScammerBingo.setFont(new Font("Tahoma", Font.PLAIN, 34));
- lblScammerBingo.setBounds(135, -13, 361, 83);
- contentPane.add(lblScammerBingo);
- JButton btnFakeEnglishName = new JButton("Fake English Name");
- btnFakeEnglishName.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnFakeEnglishName.setEnabled(false);
- }
- });
- btnFakeEnglishName.setBounds(12, 57, 141, 51);
- contentPane.add(btnFakeEnglishName);
- JButton btnCmdexe = new JButton("cmd.exe");
- btnCmdexe.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnCmdexe.setEnabled(false);
- }
- });
- btnCmdexe.setBounds(310, 57, 105, 51);
- contentPane.add(btnCmdexe);
- JButton btnSupportme = new JButton("support.me");
- btnSupportme.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnSupportme.setEnabled(false);
- }
- });
- btnSupportme.setBounds(165, 110, 133, 51);
- contentPane.add(btnSupportme);
- JButton btnWindowsKey = new JButton("Vindows Key + R");
- btnWindowsKey.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnWindowsKey.setEnabled(false);
- }
- });
- btnWindowsKey.setBounds(12, 110, 141, 51);
- contentPane.add(btnWindowsKey);
- JButton btnOneTimeCharge = new JButton("One Time Charge");
- btnOneTimeCharge.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnOneTimeCharge.setEnabled(false);
- }
- });
- btnOneTimeCharge.setBounds(165, 57, 133, 51);
- contentPane.add(btnOneTimeCharge);
- JButton btnSir = new JButton("Sir");
- btnSir.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnSir.setEnabled(false);
- }
- });
- btnSir.setBounds(427, 57, 83, 51);
- contentPane.add(btnSir);
- JButton btnDextopLaxtop = new JButton("Dextop");
- btnDextopLaxtop.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnDextopLaxtop.setEnabled(false);
- }
- });
- btnDextopLaxtop.setBounds(12, 163, 141, 61);
- contentPane.add(btnDextopLaxtop);
- JButton btnEventvrw = new JButton("eventvrw");
- btnEventvrw.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnEventvrw.setEnabled(false);
- }
- });
- btnEventvrw.setBounds(310, 110, 105, 51);
- contentPane.add(btnEventvrw);
- JButton btnTree = new JButton("tree");
- btnTree.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnTree.setEnabled(false);
- }
- });
- btnTree.setBounds(427, 110, 83, 51);
- contentPane.add(btnTree);
- JButton btnDoOneThing = new JButton("Do One Thing");
- btnDoOneThing.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnDoOneThing.setEnabled(false);
- }
- });
- btnDoOneThing.setBounds(165, 163, 133, 61);
- contentPane.add(btnDoOneThing);
- JButton btnWirus = new JButton("Wirus");
- btnWirus.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnWirus.setEnabled(false);
- }
- });
- btnWirus.setBounds(310, 163, 105, 61);
- contentPane.add(btnWirus);
- JButton btnNetstat = new JButton("netstat");
- btnNetstat.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnNetstat.setEnabled(false);
- }
- });
- btnNetstat.setBounds(427, 163, 83, 61);
- contentPane.add(btnNetstat);
- JButton btnDirs = new JButton("dir /s");
- btnDirs.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnDirs.setEnabled(false);
- }
- });
- btnDirs.setBounds(175, 226, 105, 35);
- contentPane.add(btnDirs);
- JButton btnUsesNotepad = new JButton("Uses Notepad");
- btnUsesNotepad.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnUsesNotepad.setEnabled(false);
- }
- });
- btnUsesNotepad.setBounds(289, 225, 126, 37);
- contentPane.add(btnUsesNotepad);
- JButton btnUhhh = new JButton("Uhhh");
- btnUhhh.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnUhhh.setEnabled(false);
- }
- });
- btnUhhh.setBounds(427, 226, 83, 35);
- contentPane.add(btnUhhh);
- JButton btnEachAndEverything = new JButton("Each and Everything");
- btnEachAndEverything.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- textField.setText("Score " + ++score + "/16");
- btnEachAndEverything.setEnabled(false);
- }
- });
- btnEachAndEverything.setBounds(12, 225, 159, 37);
- contentPane.add(btnEachAndEverything);
- textField = new JTextField();
- score--;
- textField.setEditable(false);
- textField.setBackground(SystemColor.menu);
- textField.setFont(new Font("Tahoma", Font.PLAIN, 25));
- textField.setText("Score " + ++score + "/16");
- textField.setBounds(375, 287, 147, 40);
- contentPane.add(textField);
- textField.setColumns(10);
- JButton btnReset = new JButton("Reset");
- btnReset.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent arg0) {
- score = -1;
- textField.setText("Score " + ++score + "/16");
- btnFakeEnglishName.setEnabled(true);
- btnCmdexe.setEnabled(true);
- btnSupportme.setEnabled(true);
- btnWindowsKey.setEnabled(true);
- btnOneTimeCharge.setEnabled(true);
- btnSir.setEnabled(true);
- btnDextopLaxtop.setEnabled(true);
- btnEventvrw.setEnabled(true);
- btnTree.setEnabled(true);
- btnDoOneThing.setEnabled(true);
- btnWirus.setEnabled(true);
- btnNetstat.setEnabled(true);
- btnDirs.setEnabled(true);
- btnUsesNotepad.setEnabled(true);
- btnEachAndEverything.setEnabled(true);
- btnUhhh.setEnabled(true);
- }
- });
- btnReset.setBounds(0, 299, 97, 25);
- contentPane.add(btnReset);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement