Results 1 to 6 of 6
- 06-14-2010, 07:47 AM #1
show the comment in the imported class
Hello every body,
i had created a jar with ant and added the jar in my path,i'm using eclipse .
steps1
created a class named Test has a method getTestValue() which returns "hai" added comment for all these
step2:
created the jar added to the path in eclipse
Step3:
when i imported that class's method i didnt get the comment i added how can i do this ,means to show the comment in the imported class
thanks in advance
- 06-14-2010, 07:55 AM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,406
- Blog Entries
- 7
- Rep Power
- 17
- 06-14-2010, 12:47 PM #3
see the pic
thanks for ur reply
are u using any ide for example eclipse ,myeclipse etc then do this
on placing the mouse over the Calender then the comment is showing which is in the rt.jar in the jre in the class called java.util.Calender if you open the src folder in the jdk then we can see the same comment in the src
this same comment is showing when placing the mouse over the Calender
i asked about that ,the pic shows the same
- 06-14-2010, 12:54 PM #4
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
- 06-14-2010, 01:23 PM #5
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,406
- Blog Entries
- 7
- Rep Power
- 17
If you want to see javadoc comments for the stuff in your .jar you have to tell eclipse where it can either find the sources or the javadocs for the classes in that .jar. The distribution probably came without them (or you haven't really read the installation pages).
kind regards,
Jos
- 08-31-2010, 10:37 AM #6
Similar Threads
-
How to show class initialize data in JSP ?
By tking88 in forum New To JavaReplies: 0Last Post: 03-07-2010, 09:17 AM -
Is the imported package foo beeing used in the programm
By cthulhufhtagn in forum New To JavaReplies: 3Last Post: 11-01-2009, 04:27 PM -
How can I show my log class in jTextArea
By mtz1406 in forum AWT / SwingReplies: 4Last Post: 10-29-2009, 12:15 PM -
Data from a model class won't show up in the table
By ayampanggang in forum AWT / SwingReplies: 3Last Post: 11-27-2008, 08:20 PM -
netbeans 6.0 not show commpunent or show blank page
By fahimaamir in forum NetBeansReplies: 1Last Post: 01-26-2008, 06:20 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks