while automating dragging of text field on to tree node, i have coded the following way, i am able to see the mouse drag on UI but its not dropping on tree node (actually after that drop on to tree node that text field should be added as a node to that tree node , but its not happening)… anything wrong in my code…. should i have to add any more code…
RobotTestHelper helper = new RobotTestHelper();
helper.enterDragAndLeave(
new JTextComponentMouseEventData(this, (JTextComponent) dragItemLoc.getComponent(),1),
new JTreeMouseEventData(this, computerTree , computerTree.getRootNode().getTreePath(),1), 1000);
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
while automating dragging of text field on to tree node, i have coded the following way, i am able to see the mouse drag on UI but its not dropping on tree node (actually after that drop on to tree node that text field should be added as a node to that tree node , but its not happening)… anything wrong in my code…. should i have to add any more code…
RobotTestHelper helper = new RobotTestHelper();
helper.enterDragAndLeave(
new JTextComponentMouseEventData(this, (JTextComponent) dragItemLoc.getComponent(),1),
new JTreeMouseEventData(this, computerTree , computerTree.getRootNode().getTreePath(),1), 1000);