| getAppletContext() In Eclipse IDE? [message #780917] |
Thu, 19 January 2012 17:24  |
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  |
 |
Nitin Dahyabhai Messages: 1857 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
|
|
|
Powered by
FUDForum. Page generated in 0.01446 seconds