Hello Semyon,
the fix looks good to me.
Thanks,
Alexander.
On 26/06/15 13:48, Semyon Sadetsky wrote:
Hello,
Please review fix for JDK9:
bug: https://bugs.openjdk.java.net/browse/JDK-8129830
webrev: http://cr.openjdk.java.net/~ssadetsky/8129830/webrev.00/
It is not possible to insert a tree node as a last child of any parent
using Drag&Drop because the node is inserted as a sibling after the
parent node.
To distinct those cases a solution is proposed: if drop point location
is closer to the previous row then to insert into the last child
position and insert into the sibling position otherwise.
--Semyon