0

So basically I made a UI with text fields and buttons. I want to have focus on the submit button when the window first starts up, but i get a null pointer exception right on that method.

submitBTN.requestFocus();

Is there something I'm missing?

Andrew900460
  • 621
  • 1
  • 6
  • 16

0 Answers0