getSelectionCellAt
takes a Point2D
as
its parameter and returns the first selected cell whose bounds the point
lies within. This is useful if you have a mouse operation that doesn't
perform a selection and you want the operation to act only on selected
cells. A right mouse button press to bring up a popup menu is such an
example.
Previously, whether or not a cell that was dragged into a group was made part of that group ( assuming the move into groups option is enabled ) was based on the mouse position when released. This has been corrected to be based on whether the cells bounds is fully within the bounds of the group cell instead.
When extra labels and selected and dragged with the control key is depressed, a clone of the extra label is made upon release. Also, if a press occurs on an extra label with the shift key depressed, the extra label is removed.
An intermitent bounds cloning bug was fixed in
JGraph.getCellBounds(Object[])
. This meant occasionally it
was possible for a cell to become very high since it was using the
bounds value from a previously processed cell.