NiftyDemo Interface Errors

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:


    if (NiftyInputEvent.SubmitText.equals(event)) {


    if (inputEvent == NiftyInputEvent.ConsoleToggle) {
      if (screen.isActivePopup(consolePopup)) {
      } else {
        nifty.showPopup(screen, consolePopup.getId(), null);
      return true;
    return false;

Why are these methods associated with NiftyInputEvent marked in red as errors?

Are there error messages? And if so, what are they?

And if it compiles and runs ok, sometimes it’s best to just look the other way.

Trying to sort out why the SDK decides something is wrong (when it’s clearly not) can cause you to pull your hair out. It has a lot of bugs in its syntax checker, in my opinion. I have classes where it complains about every method call to a super class even though the class clearly has all of those methods, etc… eventually I just started ignoring it.

alright thanks