Solved

java applet update in netscape

Posted on 1997-08-15
3
220 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupSum5 challenge 5 85
servlet example 11 40
login jsp example 24 51
Java: The Public Class Main 4 17
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…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to implement Singleton Design Pattern in Java.

821 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