Hey. This is similar to my last post on the NiftyDemo errors. But now I’m getting these weird errors on my NiftyInputEvent class methods:
-SubmitText
if (NiftyInputEvent.SubmitText.equals(event)) {
addDropDownItemButton.activate();
}
}
-ConsoleToggle
if (inputEvent == NiftyInputEvent.ConsoleToggle) {
if (screen.isActivePopup(consolePopup)) {
nifty.closePopup(consolePopup.getId());
} else {
nifty.showPopup(screen, consolePopup.getId(), null);
}
return true;
}
return false;
}
Why are these methods associated with NiftyInputEvent marked in red as errors?