File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes where to find in api Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "where to find in api" Watch "where to find in api" New topic
Author

where to find in api

kashif sohail
Greenhorn

Joined: Dec 04, 2000
Posts: 29
my question is basic one when we find some method in api for example say getInset in Panel class how do i know what this method do(in detail ) and how to use it (example) api only says like
getInsets
public Insets getInsets()
Determines the insets of this container, which indicate the size of the container's border.
A Frame object, for example, has a top inset that corresponds to the height of the frame's title bar.
Returns:
the insets of this container.
Since:
JDK1.1
any help to use of like these
kashif
Sandeep Nachane
Ranch Hand

Joined: Dec 06, 2000
Posts: 57
Is this what you are looking for ?
http://java.sun.com/products//jdk/1.2/docs/api/
-Sandeep Nachane


<A HREF="http://www.tipsmart.com" TARGET=_blank rel="nofollow">www.tipsmart.com</A>
kashif sohail
Greenhorn

Joined: Dec 04, 2000
Posts: 29
no fellow this api only shows that these methods are avaialabe and tells than this method does this but does not tell us how method do this and what method callls other method who performs this
some other link plz
kashif
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Very good point. I struggle with the lack of examples in the API all the time.
What I usually do is go to java.sun.com and do a search on the method (often un-marking the java.sun.com search and sticking only to the Java Developer stuff). Then scrounge around for an example.
That way I found this explaination (do a find on getInsets in here); http://developer.java.sun.com/developer/onlineTraining/GUI/AWTLayoutMgr/shortcourse.html
and 6 or 7 examples of how to use it


"JavaRanch, where the deer and the Certified play" - David O'Meara
kashif sohail
Greenhorn

Joined: Dec 04, 2000
Posts: 29
well thanx but getInset was an example and thanx for link but what if i m looking for some other example and did not find any tutorial on that
do sun has some site to tell the exampled use of its api
kashif
 
Consider Paul's rocket mass heater.
 
subject: where to find in api
 
Similar Threads
unexpected behavior....help appreciated!!
applet init() not entered first..help!!
init() not entered first
Defining the exact bottom of panel for graphic component
init() not entered first