Stuck on first tutorial

Hi :D,

        I am stuck on trying to go through the first tutorial:

I am using netbeans and I jave setup the necessary references to the compile and run libraries for the application.

The error I recieve is: "Incorrect package" and it underlines the "i" in import in red.

Any help would be appreciated. Thanks

Thanks for reading




The code is:


public class Lesson1 extends SimpleGame {

public static void main(String[] args) {

    Lesson1 app = new Lesson1();




        protected void simpleInitGame() {



I tried your code and it works fine for me, but I had to add a package declaration.  Which package is your class located in?  Mine is:

package com.examples;


Its ok. Ive fixed it now. Thanks for the reply though.