this.console = this.consolePopup.findNiftyControl("console", Console.class);
this.console.output("Humble Nifty Console Demonstration :)\nYou can toggle the console on/off with the F1 key\nEnter 'help' to show all available commands");
// this is not required when you only want to use the simple console
// but when you want some support for commands this is how
consoleCommands = new ConsoleCommands(nifty, console);
ConsoleCommand showCommand = new ShowCommand();
consoleCommands.registerCommand("show ListBox", showCommand);
consoleCommands.registerCommand("show DropDown", showCommand);
consoleCommands.registerCommand("show TextField", showCommand);