The FontChooser component allows the user to select a font from within a list. The font name, style and size can all be selected. A default preview panel is provided that changes with the selected font. This can be replaced with a Component derived object. The FontChooser class uses a FontSelectionModel interface to keep track of the currently selected font. The usual ChangeListener support is also there.
|
|