[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Simple Question

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
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 video teaches viewers about errors in exception handling.
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.
Suggested Courses

649 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