Thanks to Nigel for pointing out:
I notice that the following line in TooltipExample.java

  final PNode n = event.getInputManager().getMouseOver().getPickedNode
();

Could be rewritten simply as:

final PNode n = event.getPickedNode();
1 parent 4e1d0af commit a5417a8fba15fd48b673cb37763f33677dceb6aa
@Allain Lalonde Allain Lalonde authored on 24 Oct 2009
Showing 1 changed file
View
examples/src/main/java/edu/umd/cs/piccolo/examples/TooltipExample.java