Results 1 to 1 of 1
- 05-25-2010, 10:11 PM #1
Member
- Join Date
- May 2010
- Location
- Edmonton, Alberta
- Posts
- 1
- Rep Power
- 0
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.
Similar Threads
-
Need help by Image-Buttons
By Bizzi in forum Java AppletsReplies: 6Last Post: 04-28-2010, 04:40 PM -
Problems drawing a section of an image onto another image.
By Cain in forum Java 2DReplies: 1Last Post: 04-17-2009, 12:44 AM -
Drawing on an image
By kratra in forum New To JavaReplies: 0Last Post: 02-06-2009, 08:58 PM -
drawing an image to an offscreen image
By hunterbdb in forum Java 2DReplies: 9Last Post: 10-30-2008, 06:17 PM -
movable image with buttons
By boytjie in forum NetBeansReplies: 0Last Post: 04-18-2008, 12:00 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks