posted 13 years ago
I'm writting an app that uses a set of radio buttons repeatedly on different screens. Not too difficult to repeat the code but it doesn't seem like the best approach. I was thinking of creating a class with the buttons, buttonGroup, JPanel and border all in one. But how would I handle the actionListener?