Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Swing / AWT / SWT and the fly likes class cast exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "class cast exception " Watch "class cast exception " New topic
Author

class cast exception

vijayakumar durai
Ranch Hand

Joined: Aug 18, 2008
Posts: 153
i am getting class cast exception can any body tell what is the problem


Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19958
    
  25

Can you show us the stack trace?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: class cast exception