Hello Friends,
I am using NetBeans 6.0.1.
Yesterday, I set up this NetBeans to build JME and JME-Physics 2 according to the instructions provided on the following site: http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_netbeans_5.0_to_build_jme_and_jme-physics_2
Then I tested the HelloWorld sample as provided below:
//
import com.jme.app.SimpleGame;
import com.jme.scene.shape.Box;
import com.jme.math.Vector3f;
public class HelloWorld extends SimpleGame{
public static void main(String[] args) {
HelloWorld app = new HelloWorld(); // Create Object
// Signal to show properties dialog
app.setDialogBehaviour(SimpleGame.ALWAYS_SHOW_PROPS_DIALOG);
app.start(); // Start the program
}
protected void simpleInitGame() {
// Make a box
Box b = new Box("Mybox", new Vector3f(0,0,0), new Vector3f(1,1,1));
rootNode.attachChild(b); // Put it in the scene graph
}
}
//
It seems to Build and Run sucessfully, but I only get the following output on the output window:
init:
deps-jar:
compile:
run:
BUILD SUCCEESSFUL (total time: 0 seconds)
But unfortunately I can't seem to get it to display the SimpleGame graphics/window.
Can someone help me to see what I am missing?
Thanks in advance