B
bilsch
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.
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.