?
Solved

Simple Question

Posted on 1998-07-12
3
Medium Priority
?
179 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 100 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

800 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