353 |
this(null, attrs); |
this(null, attrs); |
354 |
} |
} |
355 |
|
|
356 |
/* This extra constructor is here to permit ClasspathToolkit and to build |
/* This extra constructor is here to permit ClasspathToolkit and to |
357 |
a font with a "logical name" as well as attrs. */ |
build a font with a "logical name" as well as attrs. |
358 |
public Font (String name, Map attrs) |
ClasspathToolkit.getFont(String,Map) uses reflection to call this |
359 |
|
package-private constructor. */ |
360 |
|
Font (String name, Map attrs) |
361 |
{ |
{ |
362 |
// If attrs is null, setting it to an empty HashMap will give this |
// If attrs is null, setting it to an empty HashMap will give this |
363 |
// Font default attributes. |
// Font default attributes. |