Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #16013 > unrolled thread

Using Object tag instead of Applet tag why?

Started bySanny <softtanks22@hotmail.com>
First post2012-07-14 02:01 -0700
Last post2012-08-19 21:22 -0400
Articles 5 — 5 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Using Object tag instead of Applet tag why? Sanny <softtanks22@hotmail.com> - 2012-07-14 02:01 -0700
    Re: Using Object tag instead of Applet tag why? Roedy Green <see_website@mindprod.com.invalid> - 2012-07-14 06:29 -0700
    Re: Using Object tag instead of Applet tag why? Lew <noone@lewscanon.com> - 2012-07-14 13:01 -0700
    Re: Using Object tag instead of Applet tag why? "John B. Matthews" <nospam@nospam.invalid> - 2012-07-14 22:43 -0400
    Re: Using Object tag instead of Applet tag why? Arne Vajhøj <arne@vajhoej.dk> - 2012-08-19 21:22 -0400

#16013 — Using Object tag instead of Applet tag why?

FromSanny <softtanks22@hotmail.com>
Date2012-07-14 02:01 -0700
SubjectUsing Object tag instead of Applet tag why?
Message-ID<367d578b-faf7-45d5-a93d-59e82d0ccfaa@googlegroups.com>
I read at a few places on net to use "Object" tag instead of "Applet" tag.

Why? What is the disadvantage of using Applet tag?

I have a game which I publish as below

<applet code="My...Game.class" width="800" height="600" archive="Fight...game.jar" codebase="http://www.getclub.com/.../enjoygame/">
Game applet
</applet>

What will be the Syntax to use when using the Object Tag?

Will I be able to pass parameters as-well?

Will Object tag works on all Browser?

There is one Embed Tag also whats difference between Embed Tag & Object Tag. Which one is best.

I want some way for the tag to download the required java plugin directly in browsers not having java. 

Can I specify something it tag So that the Java JVM is automatically downloaded?

I am having a Java program not using jar file. I have a few images in it.

Currently I load the program and call each image.

Can I collect all images in a zip/ jar file and call each?

How to add a flash screen that shows download status while images are downloaded from jar file while the applet is loading?


Bye
Sanny

Wandering in Java Forest
Play Fireman Shooting Game
http://www.getclub.com/Fireman.html

[toc] | [next] | [standalone]


#16015

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-07-14 06:29 -0700
Message-ID<vvs20812pqm3p88f4i9lvsavejc5s50fks@4ax.com>
In reply to#16013
On Sat, 14 Jul 2012 02:01:31 -0700 (PDT), Sanny
<softtanks22@hotmail.com> wrote, quoted or indirectly quoted someone
who said :

>Why? What is the disadvantage of using Applet tag?

see http://mindprod.com/jgloss/applet.html

There is a new Object tag in HTML5, but the current one is a joke.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
The greatest shortcoming of the human race is our inability to understand the exponential function. 
 ~ Dr. Albert A. Bartlett (born: 1923-03-21 age: 89)
http://www.youtube.com/watch?v=F-QA2rkpBSY

[toc] | [prev] | [next] | [standalone]


#16025

FromLew <noone@lewscanon.com>
Date2012-07-14 13:01 -0700
Message-ID<jtsj69$4ki$1@news.albasani.net>
In reply to#16013
Sanny wrote:
> I read at a few places on net to use "Object" tag instead of "Applet" tag.
>
> Why? What is the disadvantage of using Applet tag?
>
> I have a game which I publish as below
>
> <applet code="My...Game.class" width="800" height="600" archive="Fight...game.jar" codebase="http://www.getclub.com/.../enjoygame/">
> Game applet
> </applet>
>
> What will be the Syntax to use when using the Object Tag?
>
> Will I be able to pass parameters as-well?
>
> Will Object tag works on all Browser?
>
> There is one Embed Tag also whats difference between Embed Tag & Object Tag. Which one is best.
>
> I want some way for the tag to download the required java plugin directly in browsers not having java.
>
> Can I specify something it tag So that the Java JVM is automatically downloaded?
>
> I am having a Java program not using jar file. I have a few images in it.
>
> Currently I load the program and call each image.
>
> Can I collect all images in a zip/ jar file and call each?
>
> How to add a flash screen that shows download status while images are downloaded from jar file while the applet is loading?

http://lmgtfy.com/?q=Java+applet+tag+object

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

[toc] | [prev] | [next] | [standalone]


#16031

From"John B. Matthews" <nospam@nospam.invalid>
Date2012-07-14 22:43 -0400
Message-ID<nospam-397F22.22432714072012@news.aioe.org>
In reply to#16013
In article <367d578b-faf7-45d5-a93d-59e82d0ccfaa@googlegroups.com>,
 Sanny <softtanks22@hotmail.com> wrote:

> Can I specify something it tag So that the Java JVM is automatically 
> downloaded?

Java Web Start supports this feature as one of its <resources/>:

<http://stackoverflow.com/tags/java-web-start/info

Several variations are illustrated here:

<https://sites.google.com/site/drjohnbmatthews/subway>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

[toc] | [prev] | [next] | [standalone]


#18159

FromArne Vajhøj <arne@vajhoej.dk>
Date2012-08-19 21:22 -0400
Message-ID<50319168$0$294$14726298@news.sunsite.dk>
In reply to#16013
On 7/14/2012 5:01 AM, Sanny wrote:
> I read at a few places on net to use "Object" tag instead of "Applet" tag.
>
> Why? What is the disadvantage of using Applet tag?

http://www.w3.org/TR/html401/struct/objects.html#h-13.4

APPLET is deprecated (with all its attributes) in favor of OBJECT.

> I have a game which I publish as below
>
> <applet code="My...Game.class" width="800" height="600" archive="Fight...game.jar" codebase="http://www.getclub.com/.../enjoygame/">
> Game applet
> </applet>
>
> What will be the Syntax to use when using the Object Tag?

http://www.w3.org/TR/html401/struct/objects.html#h-13.3

More details at:
 
http://docs.oracle.com/javase/1.4.2/docs/guide/plugin/developer_guide/using_tags.html

> Will I be able to pass parameters as-well?

Yes.

> Will Object tag works on all Browser?

All relevant.

> There is one Embed Tag also whats difference between Embed Tag & Object Tag. Which one is best.

embed tag is new in HTML 5.

As there are still browsers out there not understanding HTML 5 then I
will suggest using object tag.

> I want some way for the tag to download the required java plugin directly in browsers not having java.

The object tag can do that.

See previous link or the newer (but still old):

http://docs.oracle.com/javase/1.5.0/docs/guide/plugin/developer_guide/using_tags.html

But have you considered using Java Web Start? That will give you much
better control!

Arne

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web