Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #13985
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: need help with javadocs |
| Date | 2012-04-29 00:05 +0000 |
| Organization | UK Free Software Network |
| Message-ID | <jni0l3$k7m$1@localhost.localdomain> (permalink) |
| References | <jnhu9t$19n$1@dont-email.me> |
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 |
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
need help with javadocs bilsch <king621@comcast.net> - 2012-04-28 16:25 -0700
Re: need help with javadocs Arne Vajhøj <arne@vajhoej.dk> - 2012-04-28 19:48 -0400
Re: need help with javadocs Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-04-28 16:49 -0700
Re: need help with javadocs Martin Gregorie <martin@address-in-sig.invalid> - 2012-04-29 00:05 +0000
Re: need help with javadocs "John B. Matthews" <nospam@nospam.invalid> - 2012-04-29 00:10 -0400
Re: need help with javadocs Lew <noone@lewscanon.com> - 2012-04-28 21:14 -0700
Re: need help with javadocs Patricia Shanahan <pats@acm.org> - 2012-04-29 00:25 -0700
Re: need help with javadocs Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2012-04-29 12:00 +0300
Re: need help with javadocs Roedy Green <see_website@mindprod.com.invalid> - 2012-04-29 07:47 -0700
Re: need help with javadocs Roedy Green <see_website@mindprod.com.invalid> - 2012-04-29 07:39 -0700
csiph-web