posted 22 years ago
Hi Cinderalla,
First off there is no need to paint an image onto a JButton. It directly supports using icons (Images) instead of text. This is what makes it so much better than Button!
I seem to recall another post by someone who was trying to have a button with multiple images responding to mouse events. The code below will use a JButton extension to perform that function. Maybe it will help you with some ideas.
Enjoy,
Manfred.