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();
--~--~-~--~~~---~--~~
Piccolo2D Developers Group:
The comment in PNode.java reads
// When you do create you own nodes the only method that you will
// normally need to call is invalidatePaint. This method marks the
// nodes as having invalid paint, the root node's UI cycle will
then
// later discover this damage and report it
if
a repaint hasn't already occurred anyway.
This would allow Piccolo to combine multiple paints into fewer paints,
especially effective when large numbers of overlapping nodes all need
to be redrawn at about the same time.
Nigel
On Nov 3, 6:03 am, Michael Heuer heue...@gmail.com wrote:
I think
the wrong thread before getting as far as calling
PDebug.scheduleProcessInputs();
Nigel
On Nov 4, 12:24 am, nls...@googlemail.com wrote:
The problem seems to be caused by updating the scene graph by a thread
other than the Swing event dispatch thread. This is not allowed, a
solution is explained