MouseListener does not work--help


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: MouseListener does not work--help

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Posts
    10

    MouseListener does not work--help

    I get this error when trying to implement MouseListener error:

    Checkers is not abstract and does not override abstract method mouseRelease

    How do I fix that?

    *NOTE to the moderators, my previous thread "implement runnable and mouselistener?" can be deleted. I asked the wrong question.

  2. #2
    Join Date
    Mar 2004
    Posts
    635
    When you implement an interface, your class must provide every method as defined in that interface. So just add the method mouseReleased.

  3. #3
    Join Date
    Feb 2005
    Posts
    10
    Thank you, now my problem is solved

Similar Threads

  1. Data Entry Work
    By Anjana Jonathan in forum Careers
    Replies: 5
    Last Post: 07-03-2006, 04:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center