Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13985

Re: need help with javadocs

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!usenet.ukfsn.org!not-for-mail
From Martin Gregorie <martin@address-in-sig.invalid>
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 <jni0l3$k7m$1@localhost.localdomain> (permalink)
References <jnhu9t$19n$1@dont-email.me>
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

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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