Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » getAppletContext() In Eclipse IDE?
getAppletContext() In Eclipse IDE? [message #780917] Thu, 19 January 2012 17:24 Go to next message
Tim Bennett is currently offline Tim Bennett
Messages: 10
Registered: January 2012
Junior Member
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
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2251
Registered: July 2009
Senior Member
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


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


Current Time: Sat Aug 30 14:31:25 EDT 2014

Powered by FUDForum. Page generated in 0.01539 seconds