Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: need help with javadocs Date: Sun, 29 Apr 2012 00:05:55 +0000 (UTC) Organization: UK Free Software Network Lines: 33 Message-ID: References: NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1335657955 20726 84.45.235.129 (29 Apr 2012 00:05:55 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Sun, 29 Apr 2012 00:05:55 +0000 (UTC) User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Xref: csiph.com comp.lang.java.programmer:13985 On Sat, 28 Apr 2012 16:25:48 -0700, bilsch wrote: > Several times I've visited Oracle site to browse the class library > documentation but I never come away with information that satisfied my > curiosity. Here's an example. If someone leads me through this example > it may get me moving through javadocs successfully. > > EXAMPLE: > I have a book with the following a statement: > Font f = new Font("TimesRoman", Font.Bold, 36); > The book says that Font is from the java.awt package. I understand what > the statement does, but I don't know where to find a list of the > parameters that Font can work with, for instance I would assume > ("CourierNew", Font.Italic, 12) will work, but where is this information > listed? Even more important, where will the documentation tell me what > kind of information goes in the =new Font(a, b, c) part of the > statement. Instead of a, b and c why not w, x, y and z? Where does the > documentation tell me the kind and number of parameters that go inside > the parentheses in Font f = new Font()? > Its available from the Oracle Java downloads page. The 'Documentation' tab lets you access an online copy and see what the main Java Library Javadocs look like. You can also download and install a local copy from the 'Downloads' tab - its at the bottom of the page in the 'Additional Resources' table. I think its worth having a local copy, but it is big - last time I made the comparison the documentation download was bigger than the matching Java SE JDK download. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |