Page 2 of 2 FirstFirst 12
Results 21 to 33 of 33
Like Tree1Likes

Thread: My applet is not running on browser.

  1. #21
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,236
    Rep Power
    19

    Default Re: My applet is not running on browser.

    Still couldn't find line 155?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  2. #22
    Join Date
    Apr 2012
    Posts
    90
    Rep Power
    0

    Default Re: My applet is not running on browser.

    please you test my code , still I am not finding the variable that have null value.......because my applet is running properly using eclipse, and when I am running on browser same error message at browser console.... I am confused to find out error.

  3. #23
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,401
    Rep Power
    25

    Default Re: My applet is not running on browser.

    You need to look at the error message, get the line number and then look at that line of code and find which variable is null. We do not do your work. You must do it. We'll help you find and fix the error, but you have to do the work.

    The code you posted is different from the code you get the error message with. Line 155 in the posted code does not have a statement on it.

    Post the current code and the error message caused by that code. They must match or you are just wasting everyone's time.
    DarrylBurke likes this.
    If you don't understand my response, don't ignore it, ask a question.

  4. #24
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,401
    Rep Power
    25

    Default Re: My applet is not running on browser.

    java.lang.NullPointerException
    at com.progresso.CardDemo$CardDemoGUI.paint(CardDemo. java:155)
    The error occurred in the paint() method at line 155.

    The code you posted does NOT have a paint method in it???? Therefore: the code you posted is not the code with the error.
    If you don't understand my response, don't ignore it, ask a question.

  5. #25
    Join Date
    Apr 2012
    Posts
    90
    Rep Power
    0

    Default Re: My applet is not running on browser.

    I will try to solve my problem, if not solved again come back to the forum.

  6. #26
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,401
    Rep Power
    25

    Default Re: My applet is not running on browser.

    Why did you post code that did not cause the error? You need to be more careful. Delete all the old versions of .class files
    If you don't understand my response, don't ignore it, ask a question.

  7. #27
    Join Date
    Apr 2012
    Posts
    90
    Rep Power
    0

    Default Re: My applet is not running on browser.

    I have deleted all the old class file , and generate new class file from the command prompt, and again used this. I am already told you applet is displaying but with only white screen, no cards and feature is showing on applet. only white screen is displaying on applet area....any query related to this...

  8. #28
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,401
    Rep Power
    25

    Default Re: My applet is not running on browser.

    Are there any error messages in the browser's java console?
    If you don't understand my response, don't ignore it, ask a question.

  9. #29
    Join Date
    Apr 2012
    Posts
    90
    Rep Power
    0

    Default Re: My applet is not running on browser.

    same error message .
    I have tested this applet in different-2 browser also.
    How it is possible to give the same error all the time.
    I think this exception will not affect my applet, but still not showing applet only white screen is showing. My applet is showing, it means no error on applet, because its showing screen not error message like "Click here for detail", please ignore this exception, please tell me what is the reason for showing white screen and some times light gray, if I reload this,,, so please tell me how can I solve this......

  10. #30
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,401
    Rep Power
    25

    Default Re: My applet is not running on browser.

    Are there any error messages in the browser's java console?
    If you don't understand my response, don't ignore it, ask a question.

  11. #31
    Join Date
    Apr 2012
    Posts
    90
    Rep Power
    0

    Default Re: My applet is not running on browser.

    yes sir ..........
    I am already told you the same error messages in the browser java console that I have posted not error on 155 line........

  12. #32
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,401
    Rep Power
    25

    Default Re: My applet is not running on browser.

    Why did you delete the code after post#23?


    I'm done with this thread. Good luck on your project.

  13. #33
    Join Date
    Apr 2012
    Posts
    90
    Rep Power
    0

    Default Re: My applet is not running on browser.

    Quote Originally Posted by Norm View Post
    Why did you delete the code after post#23?


    I'm done with this thread. Good luck on your project.
    Thanks for the always available for the help.
    Thank's lot.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 7
    Last Post: 12-18-2011, 04:13 AM
  2. How to run applet in a web Browser?
    By elururajesh3 in forum Java Applets
    Replies: 4
    Last Post: 11-06-2011, 09:34 AM
  3. applet working in applet viewer, not browser
    By plasticfood in forum Java Applets
    Replies: 4
    Last Post: 06-24-2011, 06:47 PM
  4. Java Applets not running in Any browser
    By umair in forum Java Applets
    Replies: 1
    Last Post: 12-27-2009, 04:46 PM
  5. applet won't run in browser...
    By shwein in forum Java Applets
    Replies: 6
    Last Post: 10-17-2008, 06:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •