I want to write some code that will change the color of a button with a mouseEntered. I can change the color ok but I want it to return to it's original color on the mouseExited event.
I thought I could create a new variable using
orig = b1.getColor (b1 being the name of one of my button variables)
Unfortunately this doesn't work. How can I save the original color of the button so I can revert back to it on mouseExited?