Solved

java applet update in netscape

Posted on 1997-08-15
3
219 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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
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 …
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:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

863 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

26 Experts available now in Live!

Get 1:1 Help Now