I tried to add some controls to my 5250 panels via a instance of
PanelHandler. It works pretty well but sometimes the AWT-EventQueue throws
an ArrayIndexOutOfBoundsException after returning to a panel without
controls:
Exception in thread "AWT-EventQueue-0"
java.lang.ArrayIndexOutOfBoundsException: No such child: 1
at java.awt.Container.getComponent(Unknown Source)
at javax.swing.JComponent.rectangleIsObscured(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at net.infordata.em.crt.XICrt.paint(XICrt.java:366)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown
Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown
Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
Nobody/Anonymous
None
None
Public
|
Date: 2009-05-15 09:06 release 1.18h |
|
Date: 2009-05-14 11:24 I have tested your version for a while. It would seem the bug has been |
|
Date: 2009-05-13 11:06 I'm not able, at the moment, to do some tests with the code you provided. |
| Filename | Description | Download |
|---|---|---|
| MyPanelHandler.java | simplified PanelHandler | Download |
| xtn5250_118gb.jar | 1.18g-beta | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2009-05-15 09:06 | vproietti |
| resolution_id | None | 2009-05-15 09:06 | vproietti |
| allow_comments | 1 | 2009-05-15 09:06 | vproietti |
| close_date | - | 2009-05-15 09:06 | vproietti |
| File Added | 326849: xtn5250_118gb.jar | 2009-05-13 11:01 | vproietti |
| File Added | 326846: MyPanelHandler.java | 2009-05-13 10:44 | datariesa |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use