Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Hi Kishori, This looks handy, but I don't follow how the JavaScript finds out the value from the applet for the "your new height/width goes here" settings. If the applet wants to change its size, how does it send a message to the JavaScript or browser? > If you want to resize your applet using your mouse over the applet borders then you have to write Java code to do that. On mouse-move event check where the mouse pointer is. If the mouse pointer is on the border then start resizing the applet changing its width and height as required. You can also capture mouse-move event in Javascript and accomplish the same. > Thanks
Replies:
|
Sponsored Links
|