xiemojia
14 years agoContributor
How to avoid TC throw java.awt.IllegalComponentStateException to log
Hi, All,
I encountered "java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location" in log
when I tested JavaApplet.
Although I found the root cause, that is, some object collection is no VisibleOnScreen, so some attributes
like " 'Left' 'ScreenLeft' 'ScreenTop' 'Top' " throw the above error. When I use findAll to filter these objects, then the error log appeared.
Could somebody give me some tips about this problem( Please refer the pic in attachment). Thanks in advance!!!
I encountered "java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location" in log
when I tested JavaApplet.
Although I found the root cause, that is, some object collection is no VisibleOnScreen, so some attributes
like " 'Left' 'ScreenLeft' 'ScreenTop' 'Top' " throw the above error. When I use findAll to filter these objects, then the error log appeared.
Could somebody give me some tips about this problem( Please refer the pic in attachment). Thanks in advance!!!