Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

errors while devoloping a frame based checkbox application

 
chandan kuchipudi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ......i'm very new to java...i'm learning core java for 2 months....i'm getting errors while devoloping a frame based checkbox application ....please look into that and help me to devolope that ...sorry for my bad english ..


here is the program

//CbDemo.java



//it is showing that line no. 34 is an error ....

Cb.Sathya is not abstract method and does not override abstract method ItemStateChanged(ItemEvent) in ItemListener

please let me know what is wrong in that .....thank you ..

[Added code tags - see UseCodeTags for details]
 
Matthew Brown
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the method in ItemListener. Look at the method you've implemented. Compare them, carefully. And remember that Java is case sensitive.
 
chandan kuchipudi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


thank you matthew .....i've changed "i" .....but still it is showing error like this

line no 53 error : Cb is abstract;cannot be instantiated...

Cb co =new Cb();


i've written it as a part of execution logic class....please look it once...
 
chandan kuchipudi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thankyou ....i got the output finally .....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic