necessito de gold hack plss
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