• Post Reply Bookmark Topic Watch Topic
  • New Topic

image actions

 
Shun-Luoi Fong
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!