Dukascopy
 
 
Wiki JStore Search Login

Strategy Log Programmable Font ?
 Post subject: Strategy Log Programmable Font ? Post rating: 0   New post Posted: Thu 13 Mar, 2014, 18:04 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
Is there any way to set the Font for a
local JForex Strategy Log window from
the creating Strategy?

In particular, to be able to set a fixed width
font for alignment purposes...? But Font
size is also a consideration.

Could the Strategy module be given the
ability to provide a Java Font object on
creation of the Strategy log window?

This Font would apply only to that specific
Strategy Log tab/window.

Thanks,
HyperScalper


 
 Post subject: Re: Strategy Log Programmable Font ? Post rating: 0   New post Posted: Tue 18 Mar, 2014, 15:20 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Hi there,

While support chewing on the answer (or maybe already started to implement the feature :)), you can give it a try to create your own strategy panel:
https://www.dukascopy.com/wiki/#Extendin ... ck_counter

Just drop a JTextArea component on the panel, with the font you prefer.
And modify your console.getOut().println() calls to put the text on the panel instead.


 

Jump to:  

  © 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