Roger Irwin <>, Fri, 25 Jul 2003 13:10:20 +0000:
> When using a HTML page as a holder for an applet (assuming the applet is
> running in a savvy browser such as Mozilla), how can you set the HEIGHT
> and WIDTH attibutes in the HTML command so that the applet fills the
> whole page.
>
> Example, with swing2 demo:
>
> type = "application/x-java-applet;jpi-version=1.4.1_01"
> CODE = SwingSet2Applet
> ARCHIVE = "SwingSet2.jar"
> WIDTH = 695
> HEIGHT = 525
> scriptable = false
> pluginspage =http://java.sun.com/products/plugin/index.html#download">
>
> Here H & W are fixed, I would like to launch my applets to fill the
> browser window. I have found availHeight/Width tags in javascript, but
> how can they pass arguments?
Simply specify:
height=100% width=100% border=0
> So I wonder, is it possible to
>
> a) Launch an applet from javascript
Yes. Do some DOM magic.
> b) Load a jar file directly!
In what sense?
Greets
Bhun.
|