im using the java advanced imageing library and...

i have a panel with an image on it...when the panel is click i want it to flip around and display another image...how would i do something like that?

thanks