Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » show pop up windows for JDK's javadoc(I want to see JDK's javadoc same as netbeans)
icon5.gif  show pop up windows for JDK's javadoc [message #519086] Sat, 06 March 2010 04:50 Go to next message
Secure Linprog is currently offline Secure Linprog
Messages: 9
Registered: February 2010
Junior Member

I want to see JDK's javadoc as pop up window same as netbeans.

In netbeans when write "String" and Press Ctrl+Space, additionally to pop up window that show classes their name started with "String", show javadoc for String or any other classes.

http://i.imagehost.org/0236/Screenshot_2.pnghttp://i.imagehost.org/0236/Screenshot_2.png

How can do it in Eclipse?
Re: show pop up windows for JDK's javadoc [message #519420 is a reply to message #519086] Mon, 08 March 2010 13:20 Go to previous messageGo to next message
David Wegener is currently offline David Wegener
Messages: 1334
Registered: July 2009
Senior Member
"Secure Linprog" <securelinprog@gmail.com> wrote in message
news:hmt8h1$lml$1@build.eclipse.org...
>I want to see JDK's javadoc as pop up window same as netbeans.
>
> In netbeans when write "String" and Press Ctrl+Space, additionally to pop
> up window that show classes their name started with "String", show javadoc
> for String or any other classes.
>
> http://i.imagehost.org/0236/Screenshot_2.png
>
> How can do it in Eclipse?
>

This should happen automatically once you have attached the source to the
JDK. You need to make sure you downloaded a full JDK and installed the
src.zip containing the source code. Use the Edit JRE dialog of the
Installed JREs preference window to edit the source for the JDK jars.

If the source is in placed in the JDK instalation folder before defining the
JDK to Eclipse, it should be found automatically.
Re: show pop up windows for JDK's javadoc [message #519513 is a reply to message #519086] Tue, 09 March 2010 01:42 Go to previous messageGo to next message
Secure Linprog is currently offline Secure Linprog
Messages: 9
Registered: February 2010
Junior Member

I don't need source of JDK and don't want to edit its source.

I only want to see javadoc of JDK same as showing in picture in my previous post.
I have javadoc in my home directory but i don't know how can add javadoc to Eclipse to showing it as pop up same as netbeans.

[Updated on: Tue, 09 March 2010 01:44]

Report message to a moderator

Re: show pop up windows for JDK's javadoc [message #519675 is a reply to message #519513] Tue, 09 March 2010 11:34 Go to previous messageGo to next message
David Wegener is currently offline David Wegener
Messages: 1334
Registered: July 2009
Senior Member
"Secure Linprog" <securelinprog@gmail.com> wrote in message
news:hn4qk7$r3u$1@build.eclipse.org...
>I don't need source of JDK and don't want to edit its source.
>
> I only want to see javadoc of JDK same as showing in picture in my
> previous post.
>
Attaching the source to the JDK is how you show the javadoc. Eclipse parses
the source and presents a javadoc view based on it.
Re: show pop up windows for JDK's javadoc [message #520080 is a reply to message #519086] Thu, 11 March 2010 00:51 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam Kandula
Messages: 444
Registered: July 2009
Senior Member
By default, the javadoc location is set to http://java.sun.com/javase/6/docs/api. If you have connection problems to this site, you probably will not find the Javadoc.

Here are the instructions to see or change the javadoc location.
Go to Window->Preferences->Java->Installed JREs, select the JRE that you are using and click Edit. It brings up a popup box. On this popup box, expand the jars, you should see the javadoc location there. You could set or change the location here!
Re: show pop up windows for JDK's javadoc [message #520389 is a reply to message #520080] Fri, 12 March 2010 03:37 Go to previous message
Secure Linprog is currently offline Secure Linprog
Messages: 9
Registered: February 2010
Junior Member

Thank you Satyam Kandula. you get me the solution that i want.

Thank you very much.
Previous Topic:Cannot resolve type, but F3 works to open declaration
Next Topic:Eclipse Errors and Warnings
Goto Forum:
  


Current Time: Mon Jul 28 08:28:55 EDT 2014

Powered by FUDForum. Page generated in 0.01869 seconds