Solved

Java Programming question

Posted on 1997-06-26
1
154 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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
allswap challenge 6 99
Java Jpanels and Jframe 8 33
servlet doXXX methods 3 50
type mismatch (Object[] to double[] 4 24
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
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…

803 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