TotalNoob with a totally nooby problem

I have just been through the tutorial and tried to set up netbeans 5.5 and JME . I am now at the stage where I can Right-click my jemProject and then <run Project> … all the tests seem to run fine.



my problem is, that whatever code I type in I constantly get errors all through the code, the first and biggest of them is that my imports will not work.





example:-



import java.io.File;

import java.net.URISyntaxException;

import java.net.URL;

import java.util.logging.Logger;



import com.jme.app.SimpleGame;

import com.jme.bounding.BoundingBox;

import com.jme.image.Texture;



all the java imports look fine but i get nasty red lines on the com.jme ones. please help :slight_smile:


OK in partial answer to my own question, I worked out how to make a new project and as long as i run the project, it will work … cant run a file but i guess thats not what you do in nutbeans .


NetBeans has problems running a single file from an Ant based project, but on standard projects you can just right click in the text editor window (or on the file in the tree) and if there is a 'main' entrance there will be a "Run" option.

thanks for that, I`m still running the tutorials the same way, and its working for me so far.

Am going through the FlagRush tutorials and getting them all to work … mind you, even though everything compiles perfectly and runs perfectly, the CollisionDetection parts, simply dont do anything … very odd.



have spent hours looking into why the CD doesnt work and have given up, am now going to look into the networked version I see people talking about :slight_smile:



:evil: