Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » getAppletContext() In Eclipse IDE?
getAppletContext() In Eclipse IDE? [message #780917] Thu, 19 January 2012 22:24 Go to next message
Tim Bennett is currently offline Tim BennettFriend
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 13:20 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
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 Web Tools Platform
Previous Topic:Is this forum helpful ?
Next Topic:unnecessary <li> closing tag required
Goto Forum:
  


Current Time: Thu Apr 25 19:32:48 GMT 2024

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

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

Back to the top