chart에서 마우스로 일정그래프의 포인트에 가져갔을 경우 해당 정보를 보여주려고 하는데요.
Jviews CD내의 chart demo들 중에서 이와 관련된 것들을 이용하려는데 에러가 나서 문의 드립니다.
MinMaxDemo.java / PolarDemo.java / TableModelDemo.java의 경우 제공되는 demo xx.jar file에서는 문제없이
동작하는데 소스들을 그대로 pc에서 compile해서 실행시키면 에러가 나는군요.
이유가 먼지를 모르겠습니다.
포인트를 마우스로 변경하는것은 가능한데..정보는 보여지지 않는군요..
에러는 아래와 같은데요..
UIDefaults.getUI() failed: no ComponentUI class for: javax.swing.JToolTip[,0,0,0x0,invalid,alignmentX=null,ali
gnmentY=null,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,tipText=]
java.lang.Error
at javax.swing.UIDefaults.getUIError(UIDefaults.java:392)
at javax.swing.UIDefaults.getUI(UIDefaults.java:422)
at javax.swing.UIManager.getUI(UIManager.java:566)
at javax.swing.JToolTip.updateUI(JToolTip.java:84)
at javax.swing.JToolTip.<init>(JToolTip.java:64)
at ilog.views.chart.interactor.IlvChartInfoViewInteractor.createToolTip(Unknown Source)
at ilog.views.chart.interactor.IlvChartInfoViewInteractor$InfoViewWindow.<init>(Unknown Source)
at ilog.views.chart.interactor.IlvChartInfoViewInteractor$InfoViewWindow.<init>(Unknown Source)
at ilog.views.chart.interactor.IlvChartInfoViewInteractor.doIt(Unknown Source)
at ilog.views.chart.interactor.IlvChartHighlightInteractor.processMouseMotionEvent(Unknown Source)
at ilog.views.chart.interactor.IlvChartInfoViewInteractor.processMouseMotionEvent(Unknown Source)
at ilog.views.chart.IlvChartInteractorManager$2.dispatch(Unknown Source)
at ilog.views.chart.IlvChartInteractorManager.a(Unknown Source)
at ilog.views.chart.IlvChartInteractorManager.processMouseMotionEvent(Unknown Source)
at ilog.views.chart.IlvChart$Area.processMouseMotionEvent(Unknown Source)
at java.awt.Component.processEvent(Component.java:3548)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2244)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:914)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
at ilog.views.chart.IlvChart$Area.processMouseMotionEvent(Unknown Source) 이부분이 걸리는군요...
혹시 setting상의 문제인가요?
답변 부탁드립니다.