This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Communication from Java to Javascript

 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to be able to communicate between my applet class and a couple of javascript functions I have on the parent html webpage. All I can see is I'll need the netscape jar file and import netscape.javascript into my applet class? Where should I store this jar file? Any help would be appreciated.
 
Mahesh Panchananam
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob, Generally there will be thick clients when a swing application is created. It must be independent of web technologies, all the stuff that you to achieve with javascript can be achived with the well defined java components.

There are ways to do some work around for this but make use of the well defined java packges.

Rgds
Mahesh PS
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic