Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Java Programming question

Posted on 1997-06-26
1
Medium Priority
?
161 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 140 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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 will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

927 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