944,117 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1586
  • Java RSS
Apr 12th, 2005
0

How can I make use of applets while developing web pages?

Expand Post »
How can I make use of applets while developing web pages?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
sham is offline Offline
40 posts
since Mar 2005
Apr 12th, 2005
0

Re: How can I make use of applets while developing web pages?

by putting them on the pages?
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Apr 13th, 2005
0

Re: How can I make use of applets while developing web pages?

extend JApplet and add some content usign javax.swing.*;

sorry bud, but you gotta be more specific

you can use an <applet> html tag but those are deprected and you should only use an <object> tag...but oah wait there's one little hitch!!

internet explorer does not support the object tag in place of an applet, so in other words over 90% of web users wont be able to access your applets if you use the new tag, and are forced to use an older deprecated tag.
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
Apr 13th, 2005
0

Re: How can I make use of applets while developing web pages?

Since when does IE not support object tags for applets?

According to the MSDN HTML reference (which wouldn't include stuff IE doesn't support...) for object, object takes the following attribute:
"CODE code Sets or retrieves the URL of the file containing the compiled Java class. "

Of course this is deprecated and you should use codebase and archive instead to link to a jarfile.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Apr 13th, 2005
0

Re: How can I make use of applets while developing web pages?

whoops, you are accidently right, i don't know why I got confused about this, I guess I must have had a brain fart.

For Internet Explorer only, use the object tag.
For the Mozilla family of browsers only, use the embed tag.

http://java.sun.com/j2se/1.5.0/docs/...sing_tags.html
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
Apr 14th, 2005
0

Re: How can I make use of applets while developing web pages?

yup, it is Mozzy (and the Netsheep before it) that don't support object tag for applets (in contradiction to the W3 specs)
Not sure what the Fiery Fox does, but being a direct descendent of the Mozzy...
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: java web puzzle
Next Thread in Java Forum Timeline: Re-Worked Version Still problem !!!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC