aspose file tools*
The moose likes Applets and the fly likes How can html get a String from applet through MouseListener? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "How can html get a String from applet through MouseListener?" Watch "How can html get a String from applet through MouseListener?" New topic
Author

How can html get a String from applet through MouseListener?

Kidd He
Ranch Hand

Joined: Sep 17, 2006
Posts: 65
My code:


Now, I have gotten a String from the mouseClicked() method, how can I pass this String a the present html page in which the applet appear?I want the html page to get the String and print some introductions. Must I use the communication between applet and servlet?
Thanks!


SCJP1.4 93%<br />SCWCD��
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42294
    
  64
That's possible with the help of LiveConnect, about which you can read more here.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can html get a String from applet through MouseListener?