Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Java Programming question

Posted on 1997-06-26
1
Medium Priority
?
159 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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 “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.
Suggested Courses

660 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