The problem is in RED
the code that is in red is not compiled ... why .. What I missed in my code
package promouseevent; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class ProMouseEvent1 extends JFrame { public ProMouseEvent1(String title) { } [COLOR="Red"]private class MouseWatcher implements MouseListener[/COLOR] { } }
this is the output error:
init: deps-jar: Compiling 1 source file to C:\NBGuide\ProMouseEvent\build\classes C:\NBGuide\ProMouseEvent\src\promouseevent\ProMouseEvent1.java:39: promouseevent.ProMouseEvent1.MouseWatcher is not abstract and does not override abstract method mouseExited(java.awt.event.MouseEvent) in java.awt.event.MouseListener private class MouseWatcher implements MouseListener 1 error BUILD FAILED (total time: 0 seconds)