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.

Is RequiresFullAccess the only option?
 Post subject: Is RequiresFullAccess the only option? Post rating: 0   New post Posted: Mon 17 Jul, 2017, 10:29 
User avatar

User rating: 0
Joined: Fri 23 May, 2014, 17:46
Posts: 1
Location: Russian Federation, Moscow
Dear support.
Stopped working strategy which uses setAlwaysOnTop(true) option.
I assume due to security disabled @setRequiresFullAccess.
As an example, myOfflinerades in JStore or FxDOM v3 code below.

....
@RequiresFullAccess // Some functions may need this
public class FxsDOM_v3 implements IStrategy { ... }
....

....
@SuppressWarnings("unchecked")
private void initPlaceControlsOnFrame() {
// Main form
setAlwaysOnTop(true); // The error here.
...
}

Here's the message.
09:18:49 java.security.AccessControlException: access denied ("java.awt.AWTPermission" "setWindowAlwaysOnTop") @ java.security.AccessControlContext.checkPermission(Unknown Source)


What are possible solutions? Can you help?

Thank you.


 

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