Solved

Simple Question

Posted on 1998-07-12
3
175 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.

920 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