Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » getAppletContext() In Eclipse IDE?
getAppletContext() In Eclipse IDE? [message #780917] Thu, 19 January 2012 17:24 Go to next message
Eclipse UserFriend
I've been working on a project which uses two applets running on the same web page. I came across getAppletContext() from the AppletStub interface (java.applet), which allows me to communicate between both applets, as long as they are on the same web page.

Does this functionality exist in Eclipse? Is there a way to run both applets at the same time in Eclipse, in the same applet context? I've heard a few things about AppletStub, but not quite sure if that is what is needed to solve my problem. I've also seen the setStub() method of Applet (java.applet.Applet), but that says it's set by the system?

Thank you for your time.
Re: getAppletContext() In Eclipse IDE? [message #782291 is a reply to message #780917] Mon, 23 January 2012 08:20 Go to previous message
Eclipse UserFriend
On 1/19/2012 5:24 PM, Tim Bennett wrote:
> I've been working on a project which uses two applets running on the
> same web page. I came across getAppletContext() from the AppletStub
> interface (java.applet), which allows me to communicate between both
> applets, as long as they are on the same web page.
>
> Does this functionality exist in Eclipse? Is there a way to run both
> applets at the same time in Eclipse, in the same applet context? I've
> heard a few things about AppletStub, but not quite sure if that is what
> is needed to solve my problem. I've also seen the setStub() method of
> Applet (java.applet.Applet), but that says it's set by the system?
>
> Thank you for your time.

Contrary to the reply in the JDT forum, I think this *is* a JDT question.

---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
Previous Topic:Is this forum helpful ?
Next Topic:unnecessary <li> closing tag required
Goto Forum:
  


Current Time: Wed Jul 23 15:19:32 EDT 2025

Powered by FUDForum. Page generated in 0.80476 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top