to change pics using button you have to call actionlistener n pass the object of button handler in it
then make a class which implements action listener interface
and inside that class define a function void action performed i.e in that function change the pic of the panel in the form or whatever..
n import java.awt.event.*;seperately then java.awt.*;
sometimes there sub packages are not imported using *....okay
try it n if u still afce some problem i will write a code for you
:)
--
$@ur@bh