Page 1 of 1

Tools add

Posted: Sun Sep 21, 2014 7:02 am
by 17470153
When trying to add tools to the chart at runtime i get

Code: Select all

	at javax.swing.ImageIcon.<init>(
	at com.steema.teechart.editors.Renderer.getListCellRendererComponent(
	at javax.swing.plaf.basic.BasicListUI.updateLayoutState(
	at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(
	at javax.swing.plaf.basic.BasicListUI.getPreferredSize(
	at javax.swing.JComponent.getPreferredSize(
	at javax.swing.ScrollPaneLayout.layoutContainer(
	at java.awt.Container.layout(
This is in my application, but it must also happen in the teechart examples\application1 beacuase the window is not opened there as well.

Please help,

Re: Tools add

Posted: Mon Sep 22, 2014 8:22 am
by yeray
Hello Avi,

The majority of tools in the demo are added at runtime and I've opened the Swing precompiled demo shipped with TeeChart Java Suite with sources v3.2014.0519 (\Examples\Swing\Features\TeeChart.Features.jar) and I moved along all the tools section without finding errors.
2014-09-22_1018.png (219.28 KiB) Viewed 6133 times
Am I missing anything?

Re: Tools add

Posted: Mon Sep 22, 2014 1:45 pm
by 17470153
hi Yeray,
In \Examples\Swing\Features\TeeChart.Features.jar
Go to whatever example you want - In the Commander --> Edit --> Tools --> Add - is not opening.


Re: Tools add

Posted: Tue Sep 23, 2014 12:06 pm
by yeray

I see SeriesRegion.gif was missing in that build and it causes the Tools Gallery to fail.
Put this file into the "\src\Swing\com\steema\teechart\tools\icons" folder to fix it.
SeriesRegion.gif (944 Bytes) Viewed 6110 times