Philip Bays wrote:

OK Bob Now we are getting somewhere The same issue is present in
Safari. I can load either the links below and it will work in the
first instance, not the second. And firefox crashes on both, when
loading the page. I do not even get to the place where I can select
a link to look at. I think the firefox issue may be resolcved next
week, but I am not sure.


sorry -- yes -- these are the two applets from different sites:

>> http://www.stolaf.edu/people/hansonr/jmol/test/liveConnectTest.htm
>> http://srp.stanford.edu/demo/

I can't imagine what the Mozilla problem is here. Someone more knowledgeable than I will have to look at that applet code, which to me looks utterly trivial, to say what this could be. Why in the world would the following code crash Mozilla? I mean, this is ALL it is:

public class bigint extends java.applet.Applet {
    public java.util.Random newRandom() {
        return new java.util.Random();
    }

    public java.security.SecureRandom newSecureRandom() {
        return new java.security.SecureRandom();
    }

    public java.math.BigInteger newBigInteger(String value, int radix) {
        return new java.math.BigInteger(value, radix);
    }

public java.math.BigInteger newBigIntegerRandom(int bitlen, java.util.Random rng) {
return new java.math.BigInteger(bitlen, rng);
}


    /* Opera toString() workaround */
    public char[] toCharArray(java.math.BigInteger x, int radix) {
        return x.toString(radix).toCharArray();
    }
}


(Mind you, I didn't compile it; I just lifted it from the srp site as
http://srp.stanford.edu/demo/bigint.class Could that be it? That it's an incompatible compilation?)


Bob



--
Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr





------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to