Go to Source

Started by Tonux, May 04, 2011, 18:39:21

Previous topic - Next topic

Tonux

Hey there!

Ii followed the "Setting Up LWJGL with NetBeans" on the wiki, and everything seems fine up to the point where it asks me to "Right click on the import and then select Navigate|Go to Source".
But when I do that, at the bottom of the NetBeans window, it says "Cannot perform Go to Source here".
Also “Show Javadoc” gives the error "Cannot perform Show Javadoc here", even though I think I have added everything again.
I will be happy to post any logs, screenshots etc.

Any help will be great.

Thanks in advance!

Tonux

broumbroum

Go to Tools > Java Platforms and add properly the lwjgl src.zip into the source tab. the javadoc .zip of lwjgl can be added too. Then Tools Reference Index will show javadoc.
You can also open the lwjgl source code as a Netbeans project and it will redirect you to the source code whenever you click in your own project on a function that is featured by lwjgl e,g, Display.create()
:)

Tonux

Hey,

Thanks for the reply. I don't know where "Tools Reference Index" and don't know how to open the source code as a project.

Help will be great!

Tonux

broumbroum

In Netbeans : File > New Project > Open the New Project wizard by selecting New Java Project with Existing Ant Script, click Next. select the folder where you extracted lwjgl-src-X.X.zip. it should register a new netbeans free form project. Look afterwards in the Project tab in netbeans.

and for javadoc of lwjgl,  download lwjgl-docs-X.X.zip and add it in Netbeans : Tools > Java Platform > Javadoc > Add Zip...
Then you should be able to browse with Help > Javadoc References > More Javadoc... (I'm sorry for the wrong information in the previous post !)
:)

Tonux

Hey again,

I have done all that and am happy to say it all works great!
Thank you very much broumbroum, if I could give you a cookie, I would, so please have this e-cookie:



Thanks Again!

Tonux

broumbroum

I'm so happy ! WOOH  ;D