[SOLVED]HelloWorld compilation problem

Hi all, I'm completely new to JME(and noob enough in Java),. It seems really cool and I can't wait to test it, and see what I can make with it. But I'm having some problems, starting up.

Having followed this tutorial more than twice, http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_netbeans_6.1_for_jme_2.0 , I come across the same error when trying to run a simple hello world program, particularly this one https://jme.dev.java.net/source/browse/jme/src/jmetest/TutorialGuide/HelloWorld.java?rev=1.4&view=markup .

The line causing the compilation error is

app.setDialogBehaviour(AbstractGame.ALWAYS_SHOW_PROPS_DIALOG);


both setDialogBehaviour and ALWAYS_SHOW_PROPS_DIALOG do not exist. Is this because of a change in the source, or is it something wrong with my libraries probably (he imports are recognized properly)? Could someone plz guide me what to check? Thank you.

The tutorial you are using is based on jME1,



try:


app.setConfigShowMode(ConfigShowMode.AlwayShow);

someone was faster than me :slight_smile:



The wiki tutorial to set up jme, uses jme version 2, which is located in the google code svn: http://code.google.com/p/jmonkeyengine/source/browse/trunk/src/jmetest/TutorialGuide/HelloWorld.java



You were refering to the jme 1 cvs version which is located at jme.dev.java.net.

Ooops! That was silly… I run the proper example and everything worked just fine. Thank you both for your quick responses :smiley: