Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2005

Tip: Looking for answers? Try searching our database.

my JApplet, doesn't work in Web Browser

Thread view: 
Peace - 29 Sep 2005 07:03 GMT
I built a JApplet and saw its running in Applet Viewer.

However, when I tried to view it in Web Browsers,
it doesn't show anything. (NullPointerException)

I tested in IE 6.0 SP2 with JRE 1.5, and Firefox 1.0.7 with JRE 1.5
plugin.
J2SE 1.4.2_09 with NetBeans is installed in my PC.

I also tried with JBuilder, but it was same.
(JBuilder runs my Applet correctly, but the applet doesn't work
on both of Web Browsers)

Could anyone tell me why this exception occured?
Roedy Green - 29 Sep 2005 07:24 GMT
>Could anyone tell me why this exception occured?

You made an error.

I tease. But you do you. How about some code?
We are not mindreaders.

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.

Andrew Thompson - 29 Sep 2005 07:42 GMT
> I built a JApplet and saw its running in Applet Viewer.
<snip>

Roedy explained why your applet failed, but to take steps to
fix it, you might..
- Put the applet on the net so *we* can see it fail
- Post a (SHORT) self contained example of the code
that breaks, or better, link to it from your applet page.
<http://www.physci.org/codes/sscce.jsp>
- Post (/link to) the stacktrace you are getting in the
Java console of your browser.

HTH


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.