NiftyGUI code wrong

[java]NiftyJmeDisplay niftyDisplay = new NiftyJmeDisplay(

assetManager, inputManager, audioRenderer, guiViewPort);

nifty = niftyDisplay.getNifty();

nifty.fromXml("Interface/helloworld.xml", "start");

// attach the nifty display to the gui view port as a processor


// disable the fly cam


imports done, but compiler cant find nifty

The tutorial assumes nifty is already declared.

Declare it on line 3 and it should work.