I was looking for if there is a function to set several components when finishing a jinternalframe form and not having to set one by one in "", I could think of an array of components, but it did not seem like the best idea.
I was looking for if there is a function to set several components when finishing a jinternalframe form and not having to set one by one in "", I could think of an array of components, but it did not seem like the best idea.
The ideal for these cases is to create a method that sets the components you want to "" as you say and call it whenever you need to do this action.
public void limpiar(){
componente1 = "";
...
}