It's often useful to use another class as an ActionListener rather than using the panel itself. Obvisouly, it works, but you might want to think about using an inner class or just a separate top-level class to keep the event handling code separated from the code for building and displaying the form
Making my login method shorter to make it more readable and maintainable
It's exactly the same and completely different as this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|