Solved

Netscape talking to Java App(lett)

Posted on 1997-03-25
4
165 Views
Last Modified: 2010-04-16
I am looking for a way to send all/any Netscape Events (as pressing the Back Button or selecting an item from the bookmarks) to a Java Applikation or any Programm for that matter, regardless of the loaded page.

Please note the direction! I do know about the remote mechanisms availiable.

Also I am not talking about a way to manipulate the browser
in such a way that it will do anything for me. Quite to the contrary am I trying to manipulate another program by pressing any of Mozillas buttons. Like a hook in most of emacs functions: whenever a file is loaded and you want to add a new functionality, you add your function to the call-list for (find-file)
0
Comment
Question by:sage032597
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:tatti
ID: 1219186
An Applet can't tell the browser what it should do, except for the few defined API calls (showDocument(), showStatus()). What you need is JavaScript, ie. pseudoJava that is interpreted and executed by the browser itself. It can be used to do quite a bit with the browser, but I'm not sure it can be used to communicate with an applet. There's a topic for JavaScript right here, so you'll probably get a better answer there.
0
 

Author Comment

by:sage032597
ID: 1219187
Edited text of question
0
 

Author Comment

by:sage032597
ID: 1219188
I have changed the question after tatti's answer to make the direction of the information flow obvious
0
 
LVL 1

Accepted Solution

by:
tatti earned 100 total points
ID: 1219189
My answer wasn't too well formulated, after the second reading. I will try again.

You cannot use Java to tell the browser anything, except for those few standard calls. This also means that you cannot tell the browser to "send me an Event whenever this widget is used". This is actually, a bit stupid, since a lot of intelligent agents and other statistical programs could then be created, if the applets could access information such as how the user navigates, what pages are loaded etc.

But this is unavailable, possibly because of security issues. The only information you can get it locate other applets in the page and communicate with them.

I for one haven't dwelled in JavaScript, but if anything could be used to extract the information you want, that should do it. But as for relaying that information to an applet - I'm sceptical.

Sorry for not being able to give you the answer you're looking for.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Java virtual machine monitoring tools 3 40
allStar challenge 1 43
bitbucket vs gitbucket 3 35
Java Loop 6 25
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now