|
Jfreechart extension 2 and Jfreechart 1.0.0: msg#00123java.ulc.devel
Hi I am having problems using Jfreechart extension 2 along with Jfreechart 1.0.0 library. The problem comes when the addChartEventListener listener gets fired fChartComponent = new ULCJFreeChartComponent(); ........... ............ fChartComponent.addChartEventListener(new ChartHandler()); I get the following error when mouse listener gets fired Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException at com.canoo.ulc.community.jfreechart.client.UIJFreeChartComponent$MouseEventHandler.findEntity(UIJFreeChartComponent.java:208) at com.canoo.ulc.community.jfreechart.client.UIJFreeChartComponent$MouseEventHandler.mouseClicked(UIJFreeChartComponent.java:187) at java.awt.AWTEventMulticaster.m ouseClicked(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.ulcjava.base.client.FilteringEventQueue.dispatchEvent(FilteringEventQueue.java:6) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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) I guess in its not able to find UIChartEntity based on x and y co-ordinates I understand that jfreechart extension 2 i should be using Jfreechart 0.9.0 but it could be good if both jfreechart extension 1 and 2 use the same library. Thanks, Gene __________________________________________________
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: speeding up search page, Christoph Bucher |
|---|---|
| Next by Date: | RE: Registring DefaultClientCoderRegistryProvider for EJB application, Janak Mulani |
| Previous by Thread: | Registring DefaultClientCoderRegistryProvider for EJB application, Vitaly Logvinchuk |
| Next by Thread: | ULC Text Area with data types, Daniel Pfeifer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |