Roedy said:
On Wed, 12 Oct 2005 01:43:02 GMT, Andrew Thompson
the interesting thing was this in the JNLP file:
<applet-desc ....
So JAWS is not just treating it as an application. I noticed this
Applet runs outside a browser.
Yep. That (in my arrogant opinion) is what then
makes it all rather silly. Applets can gain some
advantages over applications by leveraging the power
of the browser itself (whichever browser it is).
JWS applets lose that.
When did that tag come in?
I have seen it in the 1.4 JWS docs, not sure about earlier..
Have you checked to see just how clever the appletviewer is?
Yep. (and, like you seem to be, I am assuming the
AppletViewer is used for JWS applets.)
..Does it know how to deal with showDocument?
Nope. showDocument() is ignored silently by the AppletViewer.
[ Or at least, it did when I checked it last year - I
was developing an applet viewer where I use BrowserLauncher
to emulate 'showDocument' - kludgily - ignoring named windows. ]
But then, that is 'allowable' according tho the JavaDocs, as the
(non-browser) applet container is free to ignore 'showDocument()'.
<
http://java.sun.com/j2se/1.5.0/docs/api/java/applet/AppletContext.html#showDocument(java.net.URL)>
"This method may be ignored by applet contexts that are not browsers."
Experience has shown that showDocument() is now being
ignored/suppressed by any variety of pop-up blockers
or browser upgrade patches. The only reliable way to
get something to appear 'over' an applet is to
a) put the content inside a Java (J)Window/(J)Frame/(J)Dialog.
b) sign the applet and use 'BrowserLauncher' to get
a new browser window.