Code complete question.
I have built some packages of my own an I am going to include them to a project. When I use a class and then create an object lets say, Class foo = new Class() and then I use the object foo I want whenever I write "foo." for all the methods and properties to appear next to it using code completion in any IDE and a small description of the method etc. How can I do it?
[376 byte] By [
Antoniosa] at [2007-11-27 9:00:45]

As long as you have the package included in your project, the ide should do that automatically, assuming the ide you're using has that feature. If you're having trouble getting it to work, then give the details of what ide you're using and hw you've set up your project.
Lets say you use a java supplied class such as java.util.Calendar
and your using the Eclipse IDE.
Type in the following:
import java.util.Calendar; // put at the top of the file
Calendar calendar= Calendar.getInstance(); //put in a function
When you type "calendar" on the next line followed by a period, within
a second or so, a list of functions should appear. One of them is
"set.TimeInMills". When navigate down to that function, a javadoc should appear describing what the function does. If a list of functions dont appear, in Eclipse, you may have content assist turned off.
In that case, go to <window><preferences><java><editor><content assist> (I'm not sure thats the correct location) and turn it on.
If its on, then all public functions in your custom class should work the same as described above (private functions remain hidden). If you want javadoc to appear next to your custom functions like shown above, add a javadoc above the function like this:
/**returns full names sorted by last name */