Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

GUI listener in JForex Desktop
 Post subject: GUI listener in JForex Desktop Post rating: 0   New post Posted: Fri 15 Nov, 2013, 18:05 
User avatar

User rating: 7
Joined: Fri 13 Jan, 2012, 20:49
Posts: 94
Location: Poland, Warsaw
Hi

Could you please add GUIListener in JForex Desktop with two methods (onChartClose(IChart), onChartOpen(IChart))?

Best regards,
Kurak


 
 Post subject: Re: GUI listener in JForex Desktop Post rating: 0   New post Posted: Tue 19 Nov, 2013, 11:06 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
What would be the purpose of such elaborate "user monitoring"? As a workaround consider calling https://www.dukascopy.com/client/javadoc/com/dukascopy/api/IContext.html#getCharts() with a particular interval.


 
 Post subject: Re: GUI listener in JForex Desktop Post rating: 0   New post Posted: Tue 19 Nov, 2013, 20:17 
User avatar

User rating: 7
Joined: Fri 13 Jan, 2012, 20:49
Posts: 94
Location: Poland, Warsaw
Hi,

I want to be able to develop a widget which would add itself to every newly opened chart, right after it is opened. And deconstruct the widget when a chart gets closed.

Proposed solution is, as you named it, a workaround. In low volatile market I can wait long time before widget actually will be added to a chart.

Best regards,
Kurak


 
 Post subject: Re: GUI listener in JForex Desktop Post rating: 0   New post Posted: Thu 21 Nov, 2013, 16:42 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
kurak777 wrote:
n low volatile market I can wait long time before widget actually will be added to a chart.
Why would you need to wait? Simply decrease the check interval.


 

Jump to:  

cron
  © 1998-2025 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