This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently a cursor could be set only per a Widget. It is not enough for control points since they are rendered by a connection widget itself. The issue requires to add an ability to dynamically resolve a cursor by a Widget using mouse-location too. This could be implemented by adding: protected Widget.getCursor (Point localLocation) { return getCursor (); } In ConnectionWidget class the method has to be overriden to track the control points and return particular cursor.
The Widget.getCursorAt protected method is added. Also the ConnectionWidget.controlPointsCursor property is added and used in ConnectionWidget.getCursorAt method impl. test.controlpoints.ControlPointsCursorTest example added.
Created attachment 42860 [details] Patch
Fixed in main trunk. Version 2.3.