Table problem
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gil_Kleinert
Posted On:   Wednesday, January 30, 2002 03:57 PM

Hi , I got the following Exception when displaying a table : Exception occurred during event dispatching: java.lang.ArrayIndexOutOfBoundsException: No such child: 0 at java.awt.Container.getComponent(Container.java:170) at javax.swing.JComponent.rectangleIsObscured(JComponent.java:3615) at javax.swing.JComponent.paint(JComponent.java:737) at javax.swing.JViewport.paint(JViewport.java:668) at javax.swing.JComponent.paintWithBuffer(JComponent.java:4393) at javax.swing.JComponent._paintImmediately(JComponent.java:4336) at javax.swing.JComponent.paintImmediately(JComponent.java:4187) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370) at javax.   More>>

Hi ,

I got the following Exception when displaying a table :

Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: No such child: 0
at java.awt.Container.getComponent(Container.java:170)
at javax.swing.JComponent.rectangleIsObscured(JComponent.java:3615)
at javax.swing.JComponent.paint(JComponent.java:737)
at javax.swing.JViewport.paint(JViewport.java:668)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:4393)
at javax.swing.JComponent._paintImmediately(JComponent.java:4336)
at javax.swing.JComponent.paintImmediately(JComponent.java:4187)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:205)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:317)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)


The stack trace doe not indicate a problem in my code itself.

Any idea?

   <<Less

Re: Table problem

Posted By:   Simon_Ablett  
Posted On:   Thursday, January 31, 2002 07:29 AM

Is the table you are trying to display stored as an array? If so is the array populated? What does your code look like?

Regards.
About | Sitemap | Contact