Solved

Simple Question

Posted on 1998-07-12
3
174 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
commonTwo  challenge 63 98
nestparen challenge 4 55
mapBully challenge 6 88
Strange loading of website behaviour 3 23
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 …
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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 theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

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

11 Experts available now in Live!

Get 1:1 Help Now