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.
In Visual Graph Library 2.0 pre3, in VMDNodeAnchor.java, the variable "requiresCalculation" is never set to false (so VMDNodeAnchor is always recalculating?) Suggestion: add "requiresCalculation = false" at the end of the "recalculate" method. Cheers, Antonio
Yes, this is an issue and should be fixed as proposed. Additional there is a need for "Anchor.notifyRevalidate" method to be called from "Anchor.revalidateDependency" to notify the anchor that related widget has be moved... Without this new method the "requiresCalculation=false" cannot be applied.
Created attachment 46173 [details] Patch
A patch has been attached. It contains the fix, the new "Anchor.notifyRevalidate" method and apichange.AnchorNotificationTest test case. Asking for fast API review.
Patch committed to the main trunk.