From: Roedy Green on
On Fri, 26 Feb 2010 23:57:11 -0800 (PST), Andrew Thompson
<andrewthommo(a)gmail.com> wrote, quoted or indirectly quoted someone
who said :

>
>Since JWS can launch applets, it is not an 'either/or'
>situation. Normally the applet launched by JWS would
>become free-floating (outside any web page).

Don't you use different JNLP to launch a hybrid as either an Applet or
JWS application?

By what I mean by hybrid, see http://mindprod.com/jgloss/applet.html
--
Roedy Green Canadian Mind Products
http://mindprod.com

The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at or repair.
~ Douglas Adams (born: 1952-03-11 died: 2001-05-11 at age: 49)
From: Andrew Thompson on
On Feb 28, 1:37 pm, Roedy Green <see_webs...(a)mindprod.com.invalid>
wrote:
> On Fri, 26 Feb 2010 23:57:11 -0800 (PST), Andrew Thompson
> <andrewtho...(a)gmail.com> wrote, quoted or indirectly quoted someone
> who said :
>
> >Since JWS can launch applets, it is not an 'either/or'
> >situation.  Normally the applet launched by JWS would
> >become free-floating (outside any web page).
>
> Don't you use different JNLP to launch a hybrid as either an Applet or
> JWS application?

I'm familiar with hybrids, and regularly link to
your page on them (OK - mostly on the Sun forums,
which have become my more common outlet to
discussions on Java).

Having said that, I am not entirely clear what
you mean by that question.

GIFanim <http://pscode.org/gifanim/#run> is a
hybrid. I launch both forms using JNLP, to get
access to the file service in a sand-boxed app. -
but the applet form is embedded in a web page.

Yes both JNLP files used are different, the JFrame
version declares application-desc/1.6+, while the
embedded applet declares applet-desc/1.6.0_10+.
The applet JNLP includes no codebase, as per Sun's
instructions.

(Last time I checked, the application form of GIFanim
was broken - I need to revise the JNLP and add some
more Jars to the resources.)

Of course, I have to concede that if I were making
an app. to be launched by JWS and intended it to be
free-floating outside the browser, I would put it
in a JFrame, if only for (direct access to)/(better
control of) the top level component in which it is
displayed.

Does that answer your question? If not, I'll
need clarification on exactly what you mean.

As an aside, did you check out my link to the
details on the plugin2 architecture? I get the
impression you had not heard of it before, and
this entire thread would be very confusing if
you are unaware of this new way of embedding
JNLP based applets in web pages.

--
Andrew T.
pscode.org
From: Qu0ll on
"Andrew Thompson" <andrewthommo(a)gmail.com> wrote in message
news:28d8655f-35f9-4dab-8e26-98194224799e(a)o16g2000prh.googlegroups.com...
> On Feb 28, 1:37 pm, Roedy Green <see_webs...(a)mindprod.com.invalid>
> wrote:
>> On Fri, 26 Feb 2010 23:57:11 -0800 (PST), Andrew Thompson
>> <andrewtho...(a)gmail.com> wrote, quoted or indirectly quoted someone
>> who said :
>>
>> >Since JWS can launch applets, it is not an 'either/or'
>> >situation. Normally the applet launched by JWS would
>> >become free-floating (outside any web page).
>>
>> Don't you use different JNLP to launch a hybrid as either an Applet or
>> JWS application?
>
> I'm familiar with hybrids, and regularly link to
> your page on them (OK - mostly on the Sun forums,
> which have become my more common outlet to
> discussions on Java).
>
> Having said that, I am not entirely clear what
> you mean by that question.
>
> GIFanim <http://pscode.org/gifanim/#run> is a
> hybrid. I launch both forms using JNLP, to get
> access to the file service in a sand-boxed app. -
> but the applet form is embedded in a web page.
>
> Yes both JNLP files used are different, the JFrame
> version declares application-desc/1.6+, while the
> embedded applet declares applet-desc/1.6.0_10+.
> The applet JNLP includes no codebase, as per Sun's
> instructions.
>
> (Last time I checked, the application form of GIFanim
> was broken - I need to revise the JNLP and add some
> more Jars to the resources.)
>
> Of course, I have to concede that if I were making
> an app. to be launched by JWS and intended it to be
> free-floating outside the browser, I would put it
> in a JFrame, if only for (direct access to)/(better
> control of) the top level component in which it is
> displayed.
>
> Does that answer your question? If not, I'll
> need clarification on exactly what you mean.
>
> As an aside, did you check out my link to the
> details on the plugin2 architecture? I get the
> impression you had not heard of it before, and
> this entire thread would be very confusing if
> you are unaware of this new way of embedding
> JNLP based applets in web pages.

FYI, I use JNLP to launch my embedded applets because I like applets (they
run *inside* a browser) and because I can then get access to the JNLP
download service to load modules of the applet on an ad-hoc basis and to all
the other JNLP services like persistence where I can store applet data on
the client's machine and file services and others. It's a great little
environment. Really, I don't know why everyone isn't programming this way!
The browser *is* the platform and applets will always provide much richer
functionality than will be achievable with HTML5 and Canvas etc.

This is one reason why I sincerely hope JavaFX will be a big success. While
I don't use it personally, if it succeeds well then Oracle/Sun will continue
to invest in and improve client-side Java, the JRE and the browser plug-in.
Things have come a long way with the advent of 6u10 but startup times,
browser/JavaScript integration etc. could still be improved.

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour(a)gmail.com
[Replace the "SixFour" with numbers to email me]

First  |  Prev  | 
Pages: 1 2 3 4 5 6 7
Prev: Testing Java
Next: Java crash