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.

Getting javadocs in netbeans
 Post subject: Getting javadocs in netbeans Post rating: 0   New post Posted: Thu 06 Oct, 2011, 11:52 
User avatar

User rating: 0
Joined: Sat 24 Sep, 2011, 18:30
Posts: 7
Location: India, Mumbai
I have imported jforex API into Netbeans and it shows the classes, methods, parameters in the intellisense cache but it does not show the javadocs. I have tried importing javadocs and selecting the URL of jforex javadocs in java platform tab but still unbale to do it.

Can anybody suggest how to get to see javadocs tips in netbeans?


 
 Post subject: Re: Getting javadocs in netbeans Post rating: 0   New post Posted: Thu 06 Oct, 2011, 12:12 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The current standalone API version (compatible with JForex-API 2.6.43) does not have attached javadocs, this will be fixed with the next release of JForex Standalone API. Currently please refer to online javadocs:
https://www.dukascopy.com/client/javadoc//


 
 Post subject: Re: Getting javadocs in netbeans Post rating: 0   New post Posted: Fri 14 Oct, 2011, 21:54 

User rating: 0
Joined: Wed 18 May, 2011, 23:26
Posts: 40
Location: Switzerland,
The problem is that the javadoc supplied by Dukascopy is called javadocs.zip and not javadoc.zip. A work around for now:

1) Download the api zip from here: https://www.dukascopy.com/swiss/english/ ... forex_api/
2) Extract the zip file and locate and extract libs/JForex-API-2.6.45-javadocs.zip
3) Add all of the extracted files to a new zip file called "javadoc.zip"
4) In netbeans, right click on the JForex-API dependency and go to "Add local javadoc" - specify the "javadoc.zip" you created. Should be able to view javadoc in netbeans now.


 
 Post subject: Re: Getting javadocs in netbeans Post rating: 0   New post Posted: Sat 17 Mar, 2012, 10:31 

User rating: 0
Joined: Sat 17 Mar, 2012, 10:05
Posts: 1
Location: Kazakstan, ALmaty
Hello everyone
I am just starting writing code on Java.
Attachment:
File comment: screenshot
17-03-2012 15-27-42.jpg [412.15 KiB]
Downloaded 306 times

Is it fine that netbean show such warnings?
And how can i fix it...


 
 Post subject: Re: Getting javadocs in netbeans Post rating: 0   New post Posted: Mon 19 Mar, 2012, 08:25 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
You need to add import statements (see MA_Play strategy). Also the IDE offers you auto-fixes for the problem - just move the mouse pointer on the error icon and choose an auto-fix option.


 

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