Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » getAppletContext() In Eclipse IDE?
getAppletContext() In Eclipse IDE? [message #779412] Sun, 15 January 2012 17:06 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 #780136 is a reply to message #779412] Tue, 17 January 2012 08:54 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
Not the right forum for this question. This forum is about questions
related to JDT.

--
Deepak Azad
http://wiki.eclipse.org/JDT/FAQ
Re: getAppletContext() In Eclipse IDE? [message #780364 is a reply to message #780136] Tue, 17 January 2012 17:07 Go to previous messageGo to next message
Tim Bennett is currently offline Tim BennettFriend
Messages: 10
Registered: January 2012
Junior Member
Is Eclipse not considered a Java Development Tool? If not, where would this question be most appropriate?
Re: getAppletContext() In Eclipse IDE? [message #780412 is a reply to message #780364] Tue, 17 January 2012 18:41 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
On 1/17/2012 10:37 PM, Tim Bennett wrote:
> Is Eclipse not considered a Java Development Tool? If not, where would
> this question be most appropriate?

As I said before this forum is for queries related to the JDT (Java
development tools). Your question is about 'Applets', which may be
better answered in WTP forums or a Java forum.

--
Deepak Azad
http://wiki.eclipse.org/JDT/FAQ
Re: getAppletContext() In Eclipse IDE? [message #782293 is a reply to message #780136] Mon, 23 January 2012 13:22 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

On 1/17/2012 3:54 AM, Deepak Azad wrote:
> Not the right forum for this question. This forum is about questions
> related to JDT.

JDT has a launcher for Applets. It seems like a reasonable question.

---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: getAppletContext() In Eclipse IDE? [message #782395 is a reply to message #782293] Mon, 23 January 2012 16:36 Go to previous message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
On 1/23/2012 6:52 PM, Nitin Dahyabhai wrote:
> On 1/17/2012 3:54 AM, Deepak Azad wrote:
>> Not the right forum for this question. This forum is about questions
>> related to JDT.
>
> JDT has a launcher for Applets. It seems like a reasonable question.

Doh! My apologoies. Let me see if I can find an answer...

Though at first glance I do not see an option to specify the
AppletContext in the launch configuration.

--
Deepak Azad
http://wiki.eclipse.org/JDT/FAQ
Previous Topic:eclipse takes OS language as default - how to disable?
Next Topic:Import IntelliJ project into Eclipse
Goto Forum:
  


Current Time: Tue Apr 23 17:03:41 GMT 2024

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

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

Back to the top