Applet does not run in Netscape.
I have written an applet which displays a slotmachine on the screen where the user can click and spin the wheels. It has two classes wheel and slotmachine(main).
This applet runs properly in Internet Explorer, but it does not run in Netscape. The Java console in Netscape navigator gives the following error.
# Applet exception: class slotmachine not found
java.lang.ClassNotFoundException: java/awt/event/MouseListener
Re: Applet does not run in Netscape.
U didn't specify the java version which u r using.
If u compile ur classes in JDK1.1.5, it won't work in Netscape 4.04 as it supports upto JDK1.1.2 while IE4 supports JDK1.1.5.
That may be a reason why netscape is not finding the class applet needs.
- UnicMan
http://members.tripod.com/unicman
Re: Applet does not run in Netscape.
Thanks for the reply.
I use JDK 1.1.1 and Visual J++ 6.0 to develop my applets.Please tell me the advantages and disadvantages of using them.
Re: Applet does not run in Netscape.
Frankly I don't trust that MS-J++ creates platform independant code. I had heard some issues where using MSJ++, the classes were unable to run on all OSs.
Otherwise I don't think there should be any problem as u r using jdk1.1.1. Why don't u try to compile ur classes using java's jdk1.1.1 i.e.'javac' etc?
- UnicMan
http://members.tripod.com/unicman
Re: Applet does not run in Netscape.
Netscape ver 4.5 onwards might support awt events.
if u r using older versions make applet invisible( height=0 width=0)
call the applet events when event on browser if fired.
any further info. contact [email protected]
Software Engineer
Internet Technology,Panini Logix Pvt Ltd