/**
* Combobox that displays a list of all available fonts, showing the name of the
* font in the font itself.
/**
* Combobox that displays a list of all available fonts, showing the name of the
* font in the font itself.
* @see GraphicsEnvironment#getAllFonts()
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
* @see GraphicsEnvironment#getAllFonts()
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
setModel(new DefaultComboBoxModel(fontNames));
setRenderer(new FontCellRenderer());
}
/**
* The cell renderer for the font name cells.
setModel(new DefaultComboBoxModel(fontNames));
setRenderer(new FontCellRenderer());
}
/**
* The cell renderer for the font name cells.