Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Applet hangs during loading



We have an applet that one of our customers cannot load on any of his Mac OS 9 systems using Apple Applet Runner with MRJ 2.2.5. We're not experts on the Mac environment and we're looking for help on resolving the problem.

The applet is written in Java 1.1 using AWT. During loading, the applet dynamically determines a set of classes to load and uses "Class.forName(...)" to retrieve them from the web site while updating a progress bar. (At this point, this isn't packaged up in a jar file or anything.) The symptoms are that the applet just stops loading partway through the list, always (according to our server logs and the customer's screen) at exactly the same point. Nothing appears in the customer's Java log or in any system messages. The last class it loads is a simple extension of Component that uses nothing fancy that we can see. (The class's static data elements are a Color, a Font, a FontMetric retrieved from Toolkit.getDefaultToolkit(), a couple of Strings, and some int's calculated by calling on the FontMetric. All pretty plain-vanilla stuff that should cause no problems.)

Other customers with the same Mac/MRJ configuration have no problems. The customer is at a school with some sort of internal network with both Macs and PCs. It doesn't seem to be a firewall issue, because (a) PCs on the network (running NT with the Microsoft VM) load the applet with no problems and (b) on the Mac, the applet makes some progress through its download list, so Java access is demonstrably allowed. The customer's Macs have 128 megs of physical ram. (We can run the applet fine on a Mac with 64 megs of ram running OS 8.6 and MRJ 2.2.5.)

What should we be asking our customer to do at his end to help diagnose the problem? (My impression is that he is not exactly a Mac power user, but does feel comfortable with routine operations. Also, this all has to be done over the phone, as we're located nowhere near the customer.) Any ideas on what may be causing the problem and how to deal with it would be greatly appreciated!

In case it might help, the applet is at http://www.newslate.com/ns.htm (that's for Applet Runner; we usually direct people to the applet through a "click to enter" link on http://www.newslate.com/ that does a system compatibility check before launching the applet.)

Thanks,

Ted Hopp
email@hidden

newSLATE is your personal learning workspace
...on the web at http://www.newslate.com/
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.