This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes y does'nt the browser support the applet which uses swings. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "y does Watch "y does New topic
Author

y does'nt the browser support the applet which uses swings.

Srinath R
Ranch Hand

Joined: Jun 28, 2000
Posts: 71
if i create an japplet useing swings. i compile it and i get the class file now when is try to write a html code for viewing the applet i am not able to view the applet y?
is it the problem with the code or with the browser?
but the same code works with appletviewer.
useing swings v can create msg. boxes even this is not visible on the browser y?
Suneel Setlur
Ranch Hand

Joined: Nov 26, 2000
Posts: 202
Hi
You need some HTML converters to make it work for the browser.

------------------
Suneel


Suneel
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Some recent browsers support Java 2 (which is needed for Swing), but many still only support Java 1.02, which only includes AWT. You can download a (large) plugin from Sun for each of the latest Java versions which will work to extend Netscape Navigator and Internet Explorer and provide all the facilities you need.
Bear in mind that there are a few small changes which you will need to make to your HTML (ie, use EMBED or OBJECT instead of APPLET tags to indicate to the browser that it should run Java) if you use the plugin.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Srinath R
Ranch Hand

Joined: Jun 28, 2000
Posts: 71
tnx for the message but i would be happy if any body would give me the link to the site where i can down load the plugins for the browsers to support the swings.
srinath
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521

Sun offers it at:
http://java.sun.com/products/plugin/1.3/download/all.html


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: y does'nt the browser support the applet which uses swings.
 
Similar Threads
can we create webbased appln. using swings?
JOptionPane
Running Swing in IE
How to use swings with applet
Swings in Browser