ArtemC Posted April 20, 2010 Report Share Posted April 20, 2010 Hi, I downloaded the ChartFX 7.0 Desktop trial and am trying to replace old charting component with it. Due to gui hierarchy of our client app the frame that holds the chart is set to invisible first, then all of the resources are cleared manually due to cross references and then the frame is disposed. The Chart component receives the same key/mouse event that we use for closing an AWT exception is thrown. Here is the stack trace: Exception in thread "AWT-EventQueue-0" java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen_NoTreeLock(Unknown Source) at java.awt.Component.getLocationOnScreen(Unknown Source) at com.softwarefx.sfxnet.internal.df.j(SourceFile:705) at com.softwarefx.chartfx.desktop.internal.HighlightAttributes.a(SourceFile:212) at com.softwarefx.chartfx.desktop.internal.Draw.h(SourceFile:788) at com.softwarefx.sfxnet.internal.os.actionPerformed(SourceFile:1093) at javax.swing.Timer.fireActionPerformed(Unknown Source) at javax.swing.Timer$DoPostEvent.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Does anyone happen to have any idea on how to fix this? Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.