OK, here’s a puzzle for all of you:
It’s easy to customize a JButton border…but how do you customize an AWT Button border without overriding the paint method?
See, here’s the problem:
I can override the paint method, but then the text on the button looks UGLY. I can add renderinghints and the like, but compared to the default AWT button text, it’s just ugly. I tried overriding the paint method, calling super first and then painting rectangles around the border, but when a popupmenu comes up, the repaint calls stop working for the buttons, and the borders come back.
So, can I customize an AWT button border? Or, even better, how does the default AWT button paint method paint such beautiful, perfectly antialiased text? If I knew that, I’d just override the whole thing and do it myself.

