-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.4.0
-
sparc
-
solaris_2.6
Name: atR10191 Date: 01/11/2002
specification for the constructor of Font class
public Font(java.lang.String name, int style, int size) states
"Creates a new Font from the specified name, style and point size.
Parameters:
name - the font name. This can be a logical font name or a font face name.
A logical name must be either: Dialog, DialogInput, Monospaced, Serif,
SansSerif, or Symbol. If name is null, the name of the new Font is set to Default.
style - ... ".
specification says nothing about what if the name is not null and at the
same time is not Dialog, DialogInput, Monospaced, Serif, SansSerif, or
Symbol or is not font face name.
Note that for style parameter appropriate comments are made.
======================================================================
- duplicates
-
JDK-4513224 Font doesn't specify behavior when requested font missing
-
- Resolved
-