Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Jon Camilleri, 1 year ago
MouseMotionListener.mouseDragged(MouseEvent) Rectangel2D cannot be resolved to a type Rectangel2D cannot be resolved to a type Cannot instantiate the type MouseMotionListener This method must return a result of type Rectangle2D The method add(Component) in the type Container is not applicable for the arguments (Point)
java.lang.Error: Unresolved compilation problems: 
 	The type MouseComponent must implement the inherited abstract method MouseMotionListener.mouseMoved(MouseEvent)
 	The type MouseComponent must implement the inherited abstract method MouseMotionListener.mouseDragged(MouseEvent)
 	Rectangel2D cannot be resolved to a type
 	Rectangel2D cannot be resolved to a type
 	Cannot instantiate the type MouseMotionListener
 	This method must return a result of type Rectangle2D
 	The method add(Component) in the type Container is not applicable for the arguments (Point)	at MouseComponent.(MouseComponent.java:14)	at MouseFrame.(MouseFrame.java:10)	at MouseTest$1.run(MouseTest.java:14)	at java.awt.event.InvocationEvent.dispatch(Unknown Source)	at java.awt.EventQueue.dispatchEvent(Unknown Source)	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)	at java.awt.EventDispatchThread.run(Unknown Source)