Re: java version detection and browser notification
- From: "G. Garrett Campbell" <g395@xxxxxxxxxxx>
- Date: Wed, 30 Jan 2008 15:35:59 -0700
I found that AppletContext works better thna appletContext.
Now a web page shows up when the java version is less that 1.5
Thanks
<douggunnoe@xxxxxxxxx> wrote in message
news:ca07c604-ec7f-4edb-a72b-9858a615b79a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Jan 30, 2:16 pm, "G. Garrett Campbell" <g...@xxxxxxxxxxx> wrote:
I have some applet users who have very old java versions (microsoft vm or
versions < 1.5)
I would like to notify them with a request to update their java version.
I created a java applet containing
version = System.getProperty("java.version");
Then I compiled it under java 1.2 (javac).
That works to collect the version number.
____
Now I want to notify them.
Ideally I would do appletContext.showDocument(url) to
pop up a web page with a link towww.java.comto install newer java code.
But showDocument is a 1.4+ method.
Any ideas on how to show a web page from an old java version?
Any better ideas on notification? (Javascript maybe?)
Thanks
How about a Dialog window?
http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html
Surely one of the methods at that link is good for 1.2, but I can't
swear to it.
.
- References:
- java version detection and browser notification
- From: G. Garrett Campbell
- Re: java version detection and browser notification
- From: douggunnoe@xxxxxxxxx
- java version detection and browser notification
- Prev by Date: Re: package com.ibm.security.x509 does not exist
- Next by Date: Re: is jni.h platform / VM specific?
- Previous by thread: Re: java version detection and browser notification
- Next by thread: Re: java version detection and browser notification
- Index(es):
Relevant Pages
|