I'm needing to make a game for my programming class but my start button wont show up
// TODO: Initialization things here.
}
/**
* This is where things will get drawn to the screen within your applet.
*/
public void paint(Graphics g)
{
// Draw our hello world
Font myFont = new Font("Ariel", Font.BOLD, 17);
g.setColor(new Color(236, 236, 236));
g.fillRect(2, 6, 640, 480);
g.setColor(Color.RED);
g.setFont(myFont);
g.drawString("In a world of good and evil, A hero must rise and save Bleedia", 25, 25);
g.drawImage(Logo, -9, 50, null);
g.drawImage(Start, -9, 50, null);
setSize(624, 500);
g.drawString("Build, Destroy, Kill, and Suicide!!!!", 200, 290);
g.drawString("E10", 590, 470);
}
}
The logo is working
I need the start button to work!
Thanks :D