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
Sometimes you feel like a nut. Sometimes you feel like a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|