Results 1 to 1 of 1
- 05-25-2010, 11:11 PM #1Member
- Join Date
- May 2010
- Edmonton, Alberta
- Rep Power
Drawing labels/buttons on an image
I am working on writing a panorama tour applet and I want to be able to display html when someone mouses over an area of a panorama called a hotspot. The html would be describing a particular feature of the image like a building or a mountain. I know you can draw text on an image using drawString, but I would like to be able to draw html on the image. I could take a screenshot of a label with html on it and draw that, but that is a lot of work to create an image for every hotspot in a panorama. Does anyone know of a good way to display html on an image at a particular point?
Another thing I would like to do is to add buttons on the bottom of the panorama. When the users mouse pointer isn't close to them, I want them to shrink and become more transparent. When the mouse pointer is close to them I want them to become larger and not transparent. I know, I can do this by creating small images and drawing them. Is there any better way to do this?
Thanks very much.
- By Bizzi in forum Java AppletsReplies: 6Last Post: 04-28-2010, 05:40 PM
- By Cain in forum Java 2DReplies: 1Last Post: 04-17-2009, 01:44 AM
- By kratra in forum New To JavaReplies: 0Last Post: 02-06-2009, 09:58 PM
- By hunterbdb in forum Java 2DReplies: 9Last Post: 10-30-2008, 07:17 PM
- By boytjie in forum NetBeansReplies: 0Last Post: 04-18-2008, 01:00 PM