Solved

Java Programming question

Posted on 1997-06-26
1
152 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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

772 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

15 Experts available now in Live!

Get 1:1 Help Now