Wiki JStore Search Login

Chart Template(.tmpl file) not Working (In .exe/.dmg files)
 Post subject: Chart Template(.tmpl file) not Working (In .exe/.dmg files) Post rating: 0   New post Posted: Mon 21 Dec, 2020, 12:55 

User rating: 0
Joined: Thu 05 Dec, 2019, 13:53
Posts: 3
Location: India, Surat
I am using JForex's API.

I created one spring boot project with Swing integration.
I opened a chart from a template file which is working fine in eclipse.
But When i convert the jar to .exe/.dmg using install4j then the chart template is not working.

Below is code(Also attached as SftswingApplication.java):

File file = new File("C:\\Users\\ADmin1\\Desktop\\eurusd.tmpl");
IChart chart = client.openChart(file);
System.out.println("is live : " + chart.isAlive());

Output :
is live : true (In Eclipse)
is live : false (In .exe/.dmg)

Please guide me.

SftswingApplication.java [4.1 KiB]
Downloaded 169 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.

Jump to:  

  © 1998-2011 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com