File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes image actions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "image actions" Watch "image actions" New topic

image actions

Shun-Luoi Fong

Joined: Mar 23, 2001
Posts: 2
I'm trying to write an applet that is a game of poker. I would like to have it so the user see's images (.gif) of their five cards and can choose what cards to discard by clicking on each image with their mouse. I tried putting the images on buttons, but the image doesn't stretch to the edge of the button. Is there a way to make an image clickable where the user sees only the image, not an image on top of a button?
I agree. Here's the link:
subject: image actions
It's not a secret anymore!