sWING pROBLEM

I developed a SWING applet known as my.java.
Compiled it to my.class
wrote a html my.html
all in 1 directory
BUT IN EXPLORER MSG: CLASS NOT FOUND
THOUGH WORKED IN APPLETVIEWER.
EXPLORER WAS IE-5

WHATS THE PROBLEM???PLUGIN??/
ps_pahwaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

OviCommented:
Yep, or you can load with the applet the swing.all archive.(Swing is not cirrently recognized by the browser). Something like :

<APPLET NAME="XXX" archive="swingall.jar" CODE="XXX.class" WIDTH=800 HEIGHT=400 ></APPLET>

Or, you can unjar the swing classes (to avoid loading of all swing) in the applet directory (codebase), keeping the original directory structure ("javax.swing. ...."/"com.sun.java.swing. ...")
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ps_pahwaAuthor Commented:
what do swingall.jar jar files contain because i am not able to find this file on my system
0
OviCommented:
This swingall.jar contain all swing classes. In order to make your applet work in browser you must load this jar among with your applet code. Your applet is working in appletviewer, because you use the swing which come with your development system. Please provide me an email so I can ship you the jar, or if you don't have problems with connection speed via Internet, download yourself the Swing from www.javasoft.com. You will find the jar file in the "stand-alone" distribution of Swing.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.