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


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

need help with javadocs

From bilsch <king621@comcast.net>
Newsgroups comp.lang.java.programmer
Subject need help with javadocs
Date 2012-04-28 16:25 -0700
Organization A noiseless patient Spider
Message-ID <jnhu9t$19n$1@dont-email.me> (permalink)

Show all headers | View raw


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()?

TIA  Bill S.

Back to comp.lang.java.programmer | Previous | NextNext 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