Solved

java applet update in netscape

Posted on 1997-08-15
3
221 Views
Last Modified: 2008-02-20
I've created a form applet where it takes input and
perform calculation and then produce output back on the
screen. It works fine when I bring it up in appletviewer but
when I bring it up in netscape, the output does not
get updated at all. I also tried running the AppletCalculator (the sample code that comes with CoreJavaBook) in netscape and I got the same result.
Can someone help me how to fix this?
I'm running netscape gold 3.01 on solaris 5.5.1.

Thank you!

PS. Thank you to the person who had added comments .
I tried as what you said and I got,
"java.lang.ClassNotFoundException: corejava.Format
at netscape.applet.AppletClassLoader.findClass(Applet....
"
I hope this helps...

0
Comment
Question by:jjlee081497
  • 2
3 Comments
 
LVL 1

Expert Comment

by:vmanocha
ID: 1225097
Look at the Java Console (under the Options menu in Nestcape) to check if you are getting any exceptions.
0
 

Author Comment

by:jjlee081497
ID: 1225098
Edited text of question
0
 
LVL 1

Accepted Solution

by:
vmanocha earned 100 total points
ID: 1225099
Looks like it is not being able to find the Format class. Check the following items:

 - What is the Codebase set to in the HTML file which has the applet tag ? Probabaly either it won't be set or it should be set to "."

- Threre should be directory by the name of "corejava" under the directory which has the HTML file for the applet. The case is important here. This directory should contain a file called "Format.class". If it doen't, you need to put that there. Check in the classes provided in the corejava package. You may copy all the class files (to be on the safe side) - but maintain the directory structure.

- Also try clearing the Netscape cache (Options -> Net. Prefs. -> Clear Disk Cache, Clear Memory Cache) and the exit and start Netscape again.

Hope this helps.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
custom annotations 9 42
Java string replace 11 54
jboss 7.1 start up error 1 29
Eclipse Help Java EE 5,6,7 Documentation, why not Java EE 8 8 30
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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 “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
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…

809 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