F
Frank
Hello everyone,
I've been fiddling with writing a small applet I'ld like to make
available, however, I noticed that the <applet> tag is considered
deprecated for HTML, and not allowed in XHTML (Strict). Since it's only
deprecated, I've continued to use it, but am trying to weigh the costs:
<applet> works on most current browsers and platforms, but not the most
recent versions of windows, and with possible conflicts of future
standards... maybe even ones that future plug-ins will cease to address.
<object> OTH, is supposed to be supported by modern browsers /
implementations. I like the idea of a tag that has some integrated and
consistant method of prompting the user to make a download if they don't
have the component installed. But, finding documentation on using <object>
(or perhaps just getting it to do what I want... load an applet!) seems
quite lacking.
From what I can tell, this involves hard-coding a pointer, as a string,
related to the windows registry. That alone raises a warning flag or two.
Further... this seems to reek of breaking the cross-platform nature of a
Java applet.
As far as the HTML converter went, I think it opened up my HTML file and
barfed in it. The page wouldn't load correctly in my browser (and yes, I'm
running windows), and the generated HTML was just plain too ugly to
attempt to maintain. Also, my applet runs fine with JREs as low as 1.1...
even tested with JView... why would I want to enforce requiring at least
the 1.4 Plug-in, just because that happens to be the version I'm running
HTML converter from? Why should the user have to download 15 MB for a 65
MB program to run a 6 KB applet?
Perhaps there is a way to use some javascript to select the most
appropriate tag?
Thanks for listening, and for your insight,
Frank
I've been fiddling with writing a small applet I'ld like to make
available, however, I noticed that the <applet> tag is considered
deprecated for HTML, and not allowed in XHTML (Strict). Since it's only
deprecated, I've continued to use it, but am trying to weigh the costs:
<applet> works on most current browsers and platforms, but not the most
recent versions of windows, and with possible conflicts of future
standards... maybe even ones that future plug-ins will cease to address.
<object> OTH, is supposed to be supported by modern browsers /
implementations. I like the idea of a tag that has some integrated and
consistant method of prompting the user to make a download if they don't
have the component installed. But, finding documentation on using <object>
(or perhaps just getting it to do what I want... load an applet!) seems
quite lacking.
From what I can tell, this involves hard-coding a pointer, as a string,
related to the windows registry. That alone raises a warning flag or two.
Further... this seems to reek of breaking the cross-platform nature of a
Java applet.
As far as the HTML converter went, I think it opened up my HTML file and
barfed in it. The page wouldn't load correctly in my browser (and yes, I'm
running windows), and the generated HTML was just plain too ugly to
attempt to maintain. Also, my applet runs fine with JREs as low as 1.1...
even tested with JView... why would I want to enforce requiring at least
the 1.4 Plug-in, just because that happens to be the version I'm running
HTML converter from? Why should the user have to download 15 MB for a 65
MB program to run a 6 KB applet?
Perhaps there is a way to use some javascript to select the most
appropriate tag?
Thanks for listening, and for your insight,
Frank