Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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