Solved

Simple Question

Posted on 1998-07-12
3
178 Views
Last Modified: 2010-04-16
Hi Experts,

   I am creating a simple Java Applet .
   I have a few buttons and the ActionListener to capture its event . (Simple)
   When I run my html,using the appletviewer, it shows me what I expect but when I run the same html in IE, in gives me an error message at the IE Status Bar
error:java.lang.NoClassDefFounderror: java/awt/event/ActionListener

What could be the reason ?
How can I solve it ?
0
Comment
Question by:pcseah
[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
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
threshold earned 50 total points
ID: 1225909
ActionListener is supported by JDK1.1 or above.
IE can support JDK1.02 by default.
Netscape 4.05 can work well with JDK1.1.6.
If you want the IE to support JDK1.1 , Try 'Plug-in', you can find the topic in 'http://java.sun.com'

0
 
LVL 2

Expert Comment

by:seahpc
ID: 1225910
When I try to run it at netscape 4.0, it tells me thta there is a security problem .
0
 
LVL 2

Expert Comment

by:threshold
ID: 1225911
In the Java Console of NS 4.0x, You can know what kind of security problem was raised.
Java Applet can't be allowed to open net socket to other machine but the one from which Applet comes,
And it can not be allowed to access local files or some resouces(ie. printer) by default.

If you want the browser turn off the security propertis, you need to learn about 'java.security' package and 'signed' applet.
Read the document from sun and Java Technical Manaual from http://developer.netscape.com/docs/index.html,
and download the Capabilities Classes... You will create Signed Applet to access local resources on client.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
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 learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

705 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