Make a Simple GUI and Displaying Serial Arduino data got NullPointerException

I’ve tried with this link but still got Nullpointerexception.