473,770 Members | 7,229 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't get an applet to load - from my web site

10 New Member
This is one of my web sites.
http://www.metcalfeps. ocdsb.ca/

I can't get the applet to load. It's a picture of the school and has a ripple effect.

I have www.java.com listed in the security exceptions. My home machine is vista. The applet won't load in IE or Firefox.
ideas? It loads on my XP machine using IE at work. I reinstalled java, but still no luck. Ideas?

applet pool menu notinited is the message (Loading java applet Failed)
I"ve been fighting this problem for a while with no luck. I'm wondering if it's a codebase issue?
Expand|Select|Wrap|Line Numbers
  1.  
  2. <P><APPLET CODE="PoolMenu.class" CODEBASE="../" WIDTH=519 HEIGHT=198 ALIGN=bottom>
  3.                               <PARAM NAME=image VALUE="IMAGES/schoolsketch118.jpg">
  4.                            </APPLET></P>
  5.  
thanks,
sorry to oblige you all.
Sep 28 '08 #1
13 4776
JosAH
11,448 Recognized Expert MVP
When I try to load that page I get a root cause of:

java.lang.Class NotFoundExcepti on: ImageMap

All you have to do is fix your .jar file and all should be fine. This exception gets
thrown in a constructor of your applet class.

kind regards,

Jos
Sep 28 '08 #2
fullofbeans
10 New Member
Thanks for the quick response. Tomorrow at work I will check it out from my work machine.- not sure how to fix the .jar file. I only have 3 .class files.

They are PoolMenu.class Pool.class ImageMap.class

On one of my other sites http://www.downwindken nels.com/main/aboutus.html

The applet works no problem regardless of the OS or browser.

Expand|Select|Wrap|Line Numbers
  1. <applet code="PoolMenu.class" width="360" height="241">
  2. <param name="image" value="/images/casey3a.jpg">
  3. </applet>
I don't have the applet in a .jar - note: I do not have the codebase listed in this functioning applet.

sorry for bugging you all with an amateurish ques. like this.

I truly appreciate all the help.
Sep 28 '08 #3
JosAH
11,448 Recognized Expert MVP
The applet works no problem regardless of the OS or browser.
Yep, that one works fine here as well including the ripple effect. Maybe it's a
firewall problem or simply the absence of a class file?

kind regards,

Jos
Sep 29 '08 #4
fullofbeans
10 New Member
I added the ImageMap.class file today.

It worked from work on XP and IE no problems without it. I'll try it on Vista when I get home tonight. Any Vista users having success loading the applet now? If that was the issue, weird that it was successful loading on the older OS.

trying to get it load the ripple applet consistently here
http://www.metcalfeps. ocdsb.ca/

my other site has no problems

http://www.downwindken nels.com/main/aboutus.html

Wish me luck. I think you may be right that it was the missing .class file. - Looks like I may owe you a coke.

Thanks again everyone. I run 3 sites, but I"m a total noob when it comes to java. - more of a cut and paster.

cheers.
Sep 29 '08 #5
JosAH
11,448 Recognized Expert MVP
Yup, it works now; it was that missing ImageMap class file.

kind regards,

Jos
Sep 29 '08 #6
fullofbeans
10 New Member
You rock!

Thanks again for all the help. I've been meaning to fix this for quite some time now. I thought it was a Vista issue originally. I teach gr. 7 and I'm going to share the entire process that we went through in Computers class to show them the benefits of collaboration and of such forums.

cheers
Sep 29 '08 #7
JosAH
11,448 Recognized Expert MVP
You rock!

Thanks again for all the help. I've been meaning to fix this for quite some time now. I thought it was a Vista issue originally. I teach gr. 7 and I'm going to share the entire process that we went through in Computers class to show them the benefits of collaboration and of such forums.

cheers
Well, I didn't do much actually; I simply tried to load your URLs and told you
what I saw ;-) I'm glad you fixed it. Did you write that ripple effect yourself or
did you find the code somewhere on the net?

kind regards,

Jos
Sep 29 '08 #8
fullofbeans
10 New Member
- Your encouragement helped. I didn't write the applet. I can't for the life of me remember where I got the ripple applet from. I remember that I had tried 3 or 4 similar applets before I decided on one that I liked.

tx again.
Sep 29 '08 #9
fullofbeans
10 New Member
ah heck.
I'm at home now. The applet now loads in IE. (I'm using Vista.) but it still won't load in Firefox. - any ideas? Can someone tell me if they were able to get the applet load on their machine with Firefox?

I'm using the uptodate version. Firefox/3.0.3

I've read of some older posts of people having issues with applets not loading in Firefox.

Poss. it's truly the browser's incompatibility now? - suggestions?

tx again.
Sep 30 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
9523
by: nathanlaan | last post by:
This is the stupidest thing I have ever seen. Java 1.2, 1.3, and 1.4.1, and 1.4.2 all define the Applet.getDocumentBase() method differently! How am I supposed to get the directory of the document in which the applet is embedded (like Java 1.3) using Java 1.4.2??? http://java.sun.com/products/jdk/1.2/docs/api/java/applet/Applet.html#getDocumentBase() http://java.sun.com/j2se/1.3/docs/api/java/applet/Applet.html#getDocumentBase()
2
5151
by: Ted Byers | last post by:
I am looking for a java applet that provides the main capabilities of a web browser, not only displaying web pages properly, but supporting the various client side processing capability such as running JScript ot VBScript and other applets. I saw an ancient one on Sun's site, but are there others? Or will I have to develop my own? (I am really not looking forward to coding support for the different scripting languages or running other...
0
2994
by: Benjamin Jones | last post by:
I have been fighting a problem with writing an XSLT applet for several days now. The following code works in a command line application, and in the applet viewer for provided with IBM eclipse. It fails in any browser, and in the Java SDK's applet viewer. The line marked below has an uncaught exception that shows the following text:
0
3115
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format, which needs a Quicktime plugin, and one Java applet. He's also kindly supplied me with sample HTML code for each. The code looks like this (simplified):
3
3525
by: Larry Martin | last post by:
I am trying to run a Java Applet on my ascx page and am getting an IO exception when IE6 tries to load the applet. It seems a lot of others are getting the same problem but a search of the web did not turn up any sort of solution. I have tried most of the suggestions but none of them seem to have helped with the problem. My error is below and the most significant part of it is the HTTP connection failure. load: class...
1
1814
by: M. Magistri | last post by:
Hi all! Why doesn't the following code load my applet under WinXP with Internet Explorer 6? <SCRIPT language="javascript" type="text/javascript"> <!-- if (getBrowser()=="IE"){ document.write("<OBJECT standby='Wait maximum 25 seconds to load........' classid='clsid:8AD9C840-044E- 11D1-B3E9-00805F499D93' WIDTH = '600' HEIGHT = '400' CODEBASE='../Applet/' name='GeoMap'>"); if (false)...
0
2204
by: speedcoder | last post by:
hi all, i'm stumped. my applet used to load images over the network. (it was actually designed by someone else.) yes, the applet used to load each image file independently over the network and incurred a network hit per image file. i wanted to avoid the overhead of a separate network connection for each image file, so i bundled all the images into the JAR file. yet, somehow, the loading time for the applet is slower now! i'm totally...
2
3363
JustRun
by: JustRun | last post by:
Hi, I'm new to Java "I loved it" and i'm stuck with a Chart Applet i'm trying to give the pie chart its values from my database. Actually the database class works when i tested it in main method buut when i put it inside the applet it gives me this "java.security.AccessControlException: access denied (java.util.PropertyPermission file.encoding read)" Also for the pie chart itself, it works fine as an application, but when i put it in...
0
9592
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10230
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10058
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7416
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2817
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.