hello friends,
I am making a GUI for a certain fill up form using netbeans..here I need disable a "next" button until all the text fields are filled up...I have tried writing a method that which is called during every keypress event in a text box that checks whether the rest of the text boxes are non empty and the status of the text box from which the key press event came from and then enables the button.but this method gets a bit messy since it has to look for too many conditions to get around the problem of user pressing unnecessary keys (such as backspace,space,arrow keys etc...)....is there any other way of solving this problem.
thanks