What is meant by ClassCastException

Discussion in 'Java' started by gayathri, Mar 16, 2006.

  1. gayathri

    gayathri Guest

    When I run the java code using swings i got
    java.lang.ClassCastException? Why ?
     
    gayathri, Mar 16, 2006
    #1
    1. Advertising

  2. gayathri

    IchBin Guest

    gayathri wrote:
    > When I run the java code using swings i got
    > java.lang.ClassCastException? Why ?
    >

    When you *get* this error what are you trying to cast at the line you
    get the error on?


    Thanks in Advance...
    IchBin, Pocono Lake, Pa, USA
    http://weconsultants.servebeer.com/JHackerAppManager
    __________________________________________________________________________

    'If there is one, Knowledge is the "Fountain of Youth"'
    -William E. Taylor, Regular Guy (1952-)
     
    IchBin, Mar 16, 2006
    #2
    1. Advertising

  3. gayathri

    Roedy Green Guest

    Roedy Green, Mar 16, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mohammed  A khader

    What is meant by Static name

    Mohammed A khader, Mar 1, 2005, in forum: VHDL
    Replies:
    2
    Views:
    1,288
    Mohammed A khader
    Mar 2, 2005
  2. Cowboy \(Gregory A. Beamer\) [MVP]

    Re: Sorry, meant ASP.NET

    Cowboy \(Gregory A. Beamer\) [MVP], Aug 17, 2004, in forum: ASP .Net
    Replies:
    7
    Views:
    573
    Shawn South
    Aug 18, 2004
  3. Shawn South

    Re: Sorry, meant ASP.NET

    Shawn South, Aug 17, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    425
    Shawn South
    Aug 17, 2004
  4. Guy Doucet
    Replies:
    7
    Views:
    439
    Guy Doucet
    Jun 5, 2005
  5. iceColdFire
    Replies:
    6
    Views:
    1,092
    Victor Bazarov
    May 6, 2005
Loading...

Share This Page