Results 1 to 6 of 6
  1. #1
    lilwarthog's Avatar
    Join Date
    Jun 2008
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0

    Make a hack with BlueJ (WarRock)

    Will someone please make a tutorial on how to create a hack for WarRock using BlueJ and this code for Charms. Please help.
    Also the code has errors madye i dont know please tell me also what the components i need and were to get them.
    Code:
    import java.applet.Applet; //FOR APPLET CLASS
    import java.awt.*; //FOR GUI COMPONENTS
    import java.awt.event.*; //FOR EVENT PROCESSING

    public class Applet4 extends Applet implements ActionListener
    {
    //DEFINE BUTTON OBJECTS
    private Button yellowButton = new Button("Yellow");
    private Button blueButton = new Button("Blue");
    private Button cyanButton = new Button("Cyan");
    private Button redButton = new Button("Red");

    //INITIALIZE APPLET WITH GUI COMPONENTS
    public void init()
    {
    //SET LAYOUT TO FLOW LAYOUT
    setLayout(new FlowLayout());

    //ADD BUTTONS TO APPLET
    add(yellowButton);
    add(blueButton);
    add(cyanButton);
    add(redButton);

    //ACTIVATE EVENT LISTENERS FOR BUTTONS
    yellowButton.addActionListener(this);
    blueButton.addActionListener(this);
    cyanButton.addActionListener(this);
    redButton.addActionListener(this);
    }//END init()

    //PROCESS EVENT
    public void actionPerformed(ActionEvent e)
    {
    //GET LABEL OF EVENT OBJECT
    String buttonLabel = e.getActionCommand();

    //DID A BUTTON CAUSE EVENT?
    if (e.getSource() instanceof Button)
    //IF SO, WHICH BUTTON?
    if (buttonLabel.equals("Yellow"))
    {
    setBackground(Color.yellow);
    showStatus("Background color changed to yellow via " + e.getSource());
    }//END IF "Yellow"
    if (buttonLabel.equals("Blue"))
    {
    setBackground(Color.blue);
    showStatus("Background color changed to blue via " + e.getSource());
    }//END IF "Blue"
    if (buttonLabel.equals("Cyan"))
    {
    setBackground(Color.cyan);
    showStatus("Background color changed to cyan via " + e.getSource());
    }//END IF "Cyan"
    if (buttonLabel.equals("Red"))
    {
    setBackground(Color.red);
    showStatus("Background color changed to red via " + e.getSource());
    }//END IF "Red"
    }//END actionPerformed()

    //SET BACKGROUND BACK TO WHITE ON RESTART
    public void start()
    {
    setBackground(Color.white);
    }//END start()
    }//END APPLET
    [22:43] vinc1402:
    {
    //INITIALIZE APPLET
    public void init()
    {
    //DEFINE BUTTON OBJECT
    Button colorButton = new Button("Click Here");

    //ADD BUTTON TO APPLET
    add(colorButton);

    //ADD EVENT LISTENER THIS BUTTON
    colorButton.addActionListener(this);
    }//END init()

    //PROCESS EVENT
    public void actionPerformed(ActionEvent e)
    {
    //DID BUTTON CAUSE EVENT?
    if (e.getSource() instanceof Button)
    {
    //IF SO, CHANGE COLOR TO BLACK COLOR
    setBackground(Color.black);
    showStatus("Background color changed to black via " + e.getSource());
    }//END IF
    }//END actionPerformed()

    //SET BACKGROUND BACK TO WHITE ON RESTART
    public void start()
    {
    setBackground(Color.white);
    }//END start()
    }//END APPLET

  2. #2
    rushzin's Avatar
    Join Date
    Aug 2008
    Posts
    96
    Reputation
    10
    Thanks
    0
    necessito de gold hack plss

  3. #3
    rushzin's Avatar
    Join Date
    Aug 2008
    Posts
    96
    Reputation
    10
    Thanks
    0
    necessito de gold hack plss

  4. #4
    rushzin's Avatar
    Join Date
    Aug 2008
    Posts
    96
    Reputation
    10
    Thanks
    0
    necessito de gold hack plss

  5. #5
    rushzin's Avatar
    Join Date
    Aug 2008
    Posts
    96
    Reputation
    10
    Thanks
    0
    necessito de gold hack plss

  6. #6
    rushzin's Avatar
    Join Date
    Aug 2008
    Posts
    96
    Reputation
    10
    Thanks
    0
    no quiero mais gold hacker

Similar Threads

  1. Can I Make A Hack With...
    By mark0108 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 20
    Last Post: 07-14-2010, 04:39 AM
  2. [SOLVED] Tutorial for making trainers/hacks with C++?
    By Tigermisu in forum Call of Duty Modern Warfare 2 Help
    Replies: 4
    Last Post: 06-03-2010, 09:51 AM
  3. Making New Hack With BYPASS, 500posts needed
    By obsedianpk in forum WarRock - International Hacks
    Replies: 21
    Last Post: 11-25-2007, 10:33 AM
  4. Who want to make a hack with me?
    By sidnietje in forum WarRock - International Hacks
    Replies: 4
    Last Post: 10-22-2007, 09:31 AM
  5. {Tutorial} How to make a hack with VB
    By ltkort213 in forum WarRock - International Hacks
    Replies: 31
    Last Post: 06-10-2007, 03:15 PM

Tags for this Thread