aspose file tools*
The moose likes Applets and the fly likes Making an applet zoom in and out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Making an applet zoom in and out" Watch "Making an applet zoom in and out" New topic
Author

Making an applet zoom in and out

Sridhar Venkataraman
Ranch Hand

Joined: May 22, 2006
Posts: 76
Hi there,

I have a JSP application that embeds Java applets in its pages.

I want to add functionality such that a user can zoom in and out of the applets (it displays mind maps currently) as desired. Is there a way to do this by adding an attribute or child tag to the <applet> tag?

How about javascript? As an alternative, it would be sufficient if the JSP page can be made to zoom in and out by pressing buttons located on the page.

Thank you.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42602
    
  65
You will need to implement this functionality yourself, meaning the drawing code needs to take the current zoom factor into account. There's nothing in the browser or the Java Plugin to help with this.


Ping & DNS - my free Android networking tools app
Sridhar Venkataraman
Ranch Hand

Joined: May 22, 2006
Posts: 76
Thank you. I found a solution which involved loading my mind maps with a shockwave object that had the required functionality.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Making an applet zoom in and out