File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "image actions" Watch "image actions" New topic
Author

image actions

Shun-Luoi Fong
Greenhorn

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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: image actions
 
Similar Threads
GUI Question
Using arrays to randomly generate images? (applet)
is it possible to hide an image??
how to load a directory of images to an applet?
Modifying the ImagePicker Controller