Does that exception happen consistently? I've seen that exception
before, but only very sporadically.
On Sep 16, 2009, at 3:25 PM, Vicente de Rivera III wrote:
ok here's my very first patch :D
I'd also like to add a keylistener so that when a user presses
Enter, the current row will enter into edit-mode. Where can I code
for that?
btw, I got this exception when I was trying out the ZOOM effect,
run:
Exception thrown during paint(): java.lang.NullPointerException
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at sun.java2d.SunGraphics2D.getClipBounds(SunGraphics2D.java:
1721)
at org.apache.pivot.wtk.Container.paint(Unknown Source)
at org.apache.pivot.wtk.Container.paint(Unknown Source)
at org.apache.pivot.wtk.Container.paint(Unknown Source)
at org.apache.pivot.wtk.Container.paint(Unknown Source)
at org.apache.pivot.wtk.Container.paint(Unknown Source)
at org.apache.pivot.wtk.ApplicationContext
$DisplayHost.paintDisplay(Unknown Source)
at org.apache.pivot.wtk.ApplicationContext
$DisplayHost.paintVolatileBuffered(Unknown Source)
at org.apache.pivot.wtk.ApplicationContext$DisplayHost.paint
(Unknown Source)
at org.apache.pivot.wtk.ApplicationContext$DisplayHost.update
(Unknown Source)
at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
at sun.awt.RepaintArea.paint(RepaintArea.java:216)
at sun.awt.windows.WComponentPeer.handleEvent
(WComponentPeer.java:306)
at java.awt.Component.dispatchEventImpl(Component.java:4706)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters
(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter
(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:
122)
BUILD SUCCESSFUL (total time: 15 seconds)
thanks!
-
thirdy
<TableViewRowEditorPATCH.txt>