posted 7 years ago
So I was bored this evening, and I decided to make a random password generator, where the user specifies the length of their password and then I generate a random password of that length. The generating part doesn't do anything wrong, it's the last part, where I clear to JTextField at the end so it doesn't make a super long password. I am using setText(""); on my JTextField and it still won't work. Help! I've tried doing this in different sections of my code and it still won't work! Code is below.