Applet programming with Netbeans?
807580Nov 14 2009 — edited Nov 14 2009Well I have been wanting to make a 2D side scrolling SIMPLE game with Java, just as a way for me to get my feet wet and keep practicing programming between classes.
I have been using this guide: http://www.gamedev.net/reference/programming/features/javagame1/
But whenever I make a new Java Application in netbeans and try to follow along, it doesn't work.
I don't mind using notepad and JDK, but in all my classes every program we had to make was able to be made in Netbeans. Alot of these terms like:
public class HelloWorld extends Applet
{
public void paint (Graphics g)
{
g.drawString("Hello World!", 50, 25);
}
}
I have never even heard of using g.drawString, we always used System.out.printf or println or just print... Also never extended an Applet.
Maybe I am just not up to date enough to start this particular tutorial? I can easily get it to work using notepad, HTML, etc. I also have Java Studio Creator 2 (came with a textbook)