The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

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:

Accessing public properties of applet when using the Java plug-in from sun

Posted by Charlie Bender on April 08, 2001 at 12:04 PM

I am creating an applet that uses the swing classes so am using the Java Plugin. (in IE only if it matters)

Everything works great except I can't figure out how to access the public properties from the calling HTML page.

Normally I could use javascript on the HTML page i.e alert(document.appletname.property); but since the applet is runnig in the plug in, that doesn't work. Anyone know how to access the applets properties?



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us