Annette,
Do you mean in HTML, JavaScript, or
Java? In HTML all you would have to do is define the image as a link (i.e. inside anchor tags), in Java you would want to use the
MouseClicked(MouseEvent e) method of the
MouseListener interface and
test that the mouse was clicked within the x,y cooridinates of the image (or make a subclass of image that implements
MouseListener and have it listen for it's own events... or make some kind of
ImageButtonManager that takes an array of all your images, their coordinates, and handles mouse clicks inside them... or any other way that works for you...). I haven't used JavaScript as much, but I think that you would define a JavaScript function that does what you want the button to do (i.e. open a link, submit a form, etc.) then use the JavaScript modifier onmousedown = "theFunction()" inside the img tag of your button...
Anyway, HTH,
-Nate