Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Applet programming with Netbeans?

807580Nov 14 2009 — edited Nov 14 2009
Well 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)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2009
Added on Nov 14 2009
3 comments
113 views