Java, how can I reset JTextField?

How about setting text content to empty strings,like this.

You want to give the class that holds the JTextFields a public void reset() method, and in that method simply call setText("") on all the JTextFields that need to be cleared. If you place all of the JTextFields in a collection such as a List then you can easily close them all with a for loop.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions