New BUG - ChartEditor - Function Export

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
Secundino
Newbie
Newbie
Posts: 5
Joined: Thu Jan 04, 2007 12:00 am

New BUG - ChartEditor - Function Export

Post by Secundino » Wed Sep 05, 2007 1:41 pm

Hello, Narcis/Steema.com.

I found a new BUG in ChartEditor Component. When I click in the function Export (exporting to BMP, JPEG, PNG). The JRE 6 generate the following exception:

java.util.MissingResourceException: Can't find resource goes bundle java.util.PropertyResourceBundle, key GrayScale
attn java.util.ResourceBundle.getObject(ResourceBundle.java:386)
attn java.util.ResourceBundle.getObject(ResourceBundle.java:383)
attn com.steema.teechart.languages.Language.getString(Language.java:50)
attn com.steema.teechart.exports.editors.BMPOptions.Load(BMPOptions.java:31)
attn com.steema.teechart.exports.editors.BMPOptions. <init>(BMPOptions.java:21)
attn com.steema.teechart.editors.export.BMPEditor.getOptions(BMPEditor.java:25)
...

I'm using the same source codes example and libraries sent in the previous topic! I am sending (by e-mail) a video (*. avi) to show the steps to generate this issue.

I wait for the correction of this issue!

Cheers,

Ricardo and Secundino.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Sep 05, 2007 2:52 pm

Hello Ricardo and Secundino,

Thanks for the information. I've been able to reproduce the issue here and added it (TJ71012438) to our defect list to be fixed for future releases. However, I've also checked that exporting is working fine despite the error.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Thu Sep 06, 2007 12:29 am

Hi,

To solve this issue, go to the resource bundle of your language: com.steema.teechart.languages.

the default resource is languages.properties

add the following to it:

COMPRESSION_LEVEL=Compression Level
GrayScale=Grayscale

You can change this in your preferred language as well.

Regards,
Tom.

Post Reply