Solved

Java Programming question

Posted on 1997-06-26
1
155 Views
Last Modified: 2010-04-16
Hello,

Dows anybody know how can I capture a html event from an applet in the same html page. What I want to do is know, in my applet program, when press the user a html link, and Which link has he pressed.
thanks a lot
--phillips
0
Comment
Question by:phillips
1 Comment
 
LVL 2

Accepted Solution

by:
mgk earned 70 total points
ID: 1222184
I'm not sure I understand the question but I think you want to capture standard HTML links and pass them to Java?

You will need to use JavaScript to capture the event and then LiveConnect to pass that into the applet. I guess the best place to look for examples is at Netscape's site (this is in the Netscape 3.0 handbook):

http://home.netscape.com/eng/mozilla/3.0/handbook/javascript/

There's examples there of the sort of thing I think you are trying to do.


Mark King
Ampersand Internet
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Way to decrease size of apk file 9 88
null output 3 36
How  can  i  resolve  HTTP Status 404 -? 8 46
jsp insert to database example 2 47
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This video teaches viewers about errors in exception handling.

821 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