[piccolo2d-dev] TooltipExample.java event.getPickedNode()

2009-10-23 Thread Nigel
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:

[piccolo2d-dev] invalidatePaint does not cause a repaint unless other events are occurring

2009-11-02 Thread Nigel
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

[piccolo2d-dev] Re: invalidatePaint does not cause a repaint unless other events are occurring

2009-11-03 Thread Nigel
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

[piccolo2d-dev] Re: invalidatePaint does not cause a repaint unless other events are occurring

2009-11-11 Thread Nigel
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