Again, I appreciate your help. Obviously, I am not communicating
clearly enough. I did implement all the changes that you suggested,
including converting all the objects to Swing objects, but to no avail.
I have finally determined that the problem is that the original button
is being repainted over the selected button when the panel
automatically repaints. The solution appears to be to remove the
original button and recreate it with the selected parameters. This
appears to be particular to the ImageIcon JButtons, and does not occur
when just setting background color, etc.
"The button will stay the "selected" color until I move the mouse off the button, and then it
changes back to the unselected color."
The only way it can do that is if you are listening to the mouse.
I posted my entire code - unless Java implements MouseListener by
default. The suggestion that I was deliberately misleading you seems
somehow counterproductive to my request for assistance.
I don't think you were deliberately misleading me. I think your
not correct though. There is some sort of painting problem somewhere.
with your images.