Hi how do you delete the input on the textfield after a button is pressed. Thanks

Recommended Answers

All 2 Replies

Hmm... ObjectElement.setText(""); where the ObjectElement is the text field??? Of course, that means you are using actionPerformed() to listen to the click event of the button.

oh thanks. i get it now. =D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.