Hi guys, I have used Nifty GUI as the main menu and then from the main menu i need to start another SimpleApplication.
Does anyone know how to call it properly?
I invoked the Simple Application using this code but it stops at “INFO: Selected display mode: 1362 x 768 x 0 @0Hz” :
@NiftyEventSubscriber(id=”NagivateToPage3″)
public void onButtonClick(final String id, final ButtonClickedEvent event) {
navigateButton.disable();
System.out.println(“Slider”);
Thread t = new Thread(new Runnable() {
public void run() {
TestWalkingChar twc = new TestWalkingChar();
twc.setShowSettings(false);
twc.start();
}
});
navigateButton.disable();
}
The TestWalkingChar class is to big to be posted and it is here http://dl.dropbox.com/u/32670759/TestWalkingChar.java
Could someone please help me? I have been trying to fix this for the longest time