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. Advertisements

  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. Advertisements

  3. gayathri

    Roedy Green Guest

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

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,458
    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:
    794
    Shawn South
    Aug 18, 2004
  3. Guy Doucet
    Replies:
    7
    Views:
    592
    Guy Doucet
    Jun 5, 2005
  4. iceColdFire
    Replies:
    6
    Views:
    1,255
    Victor Bazarov
    May 6, 2005
  5. Sridhar  R
    Replies:
    2
    Views:
    387
    Sridhar R
    Nov 9, 2004
  6. What is meant by ERP

    , Feb 1, 2007, in forum: Java
    Replies:
    3
    Views:
    1,648
    =?ISO-8859-1?Q?Arne_Vajh=F8j?=
    Feb 2, 2007
  7. vicky
    Replies:
    4
    Views:
    479
    osmium
    Jun 25, 2007
  8. Muhammad mohsin ali Ma

    What is meant by << operator ???

    Muhammad mohsin ali Ma, Jan 10, 2009, in forum: Ruby
    Replies:
    7
    Views:
    171
    Tim Greer
    Jan 11, 2009
Loading...