G4P Remove TextField

Hi, how can I remove a G4P textfield from the Screen? I just want it to be removed if I don't need it. Is that possible?

Answers

  • Yes it is possible but it is simpler and safer to make it invisible

    textfield.setVisible(false);

  • Thank you! And how would I add a border around the TextField (stroke)?

Sign In or Register to comment.