<Swing Dev> [9] Review Request for 8129830: JTree drag/drop on lower half of last child of container incorrect

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Tue Jun 30 14:35:34 UTC 2015



The fix looks good to me.

Thanks,
Alexandr.


On 6/30/2015 2:31 PM, Alexander Zvegintsev wrote:
> 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
>




More information about the swing-dev mailing list