Search found 392 matches

by AndreyR
Fri Jun 04, 2021 2:16 pm
Forum: Bookmap API
Topic: EDT Violation when popup window is used
Replies: 6
Views: 633

Re: EDT Violation when popup window is used

I never see the JLabels added to the UI
Try to call revalidate() and repaint() for a Container you are adding the lables to if it is visible already.
by AndreyR
Fri Jun 04, 2021 8:47 am
Forum: Bookmap API
Topic: Capture Rithmic Latency Message
Replies: 2
Views: 260

Re: Capture Rithmic Latency Message

Hi luis,
Layer1ApiUserMessageNotification instance is triggered. Match its text field and the text from a heatmap message. Watch its isAdd flag to figure out when the massage is shown/hidden.
by AndreyR
Fri Jun 04, 2021 7:29 am
Forum: Bookmap API
Topic: EDT Violation when popup window is used
Replies: 6
Views: 633

Re: EDT Violation when popup window is used

rickbarlow
A log would be helpful here.
by AndreyR
Mon May 31, 2021 2:05 pm
Forum: Bookmap API
Topic: Indicator zero line?
Replies: 5
Views: 486

Re: Indicator zero line?

If you wish one indicator to alternate between zero and non-zero values the visible result will depend on how often the values change from zero to non-zero. Due to data aggregation some values may be missed. In this example (a bad example of alternating) non-zero values exist for a tiny fraction of ...
by AndreyR
Mon May 31, 2021 1:13 pm
Forum: Bookmap API
Topic: Indicator zero line?
Replies: 5
Views: 486

Re: Indicator zero line?

Here is an example. There is a zero indicator and a last trade indicator. To show indicators on the same axis (otherwise there would be 2 axes - one for each indicator) an axis group is used so indicators are grouped to use 1 axis. !!! If the purpose of zero line is just to have zero on the bottom c...
by AndreyR
Sat May 29, 2021 4:12 pm
Forum: Bookmap API
Topic: Example of custom icons?
Replies: 5
Views: 478

Re: Example of custom icons?

Sorry, currently no examples for offset lines are available.
by AndreyR
Sat May 29, 2021 4:10 pm
Forum: Bookmap API
Topic: Indicator zero line?
Replies: 5
Views: 486

Re: Indicator zero line?

Could you pls clarify what is zero line.
by AndreyR
Fri May 28, 2021 11:27 am
Forum: Bookmap API
Topic: Hide widget from simplified API
Replies: 2
Views: 429

Re: Hide widget from simplified API

Hi, you can hide the widget by default so it can be enabled manually later from Bookmap. Use constructor registerIndicator(String name, GraphType graphType, double initialValue, boolean showLineByDefault, boolean showWidgetByDefault ) Indicator indicator = api.registerIndicator("Last trade, no histo...
by AndreyR
Fri May 28, 2021 6:57 am
Forum: Bookmap API
Topic: Keypress Events Sample Code
Replies: 1
Views: 359

Re: Keypress Events Sample Code

Hi, take a look at my post of Aug 08, 2019 - there is a code example.
https://bookmap.com/forum/viewtopic.php?f=21&t=134#p891
In the example, there is an order placed when some key is pressed but you can perform any action.
by AndreyR
Fri May 28, 2021 6:50 am
Forum: Bookmap API
Topic: Example of custom icons?
Replies: 5
Views: 478

Re: Example of custom icons?

The icons on your image is ScreenSpacePainter.
Also, an indicator is able to draw simple icons (example).