Features:
- Creates a list box with available font names
- Optional to render list box items in the font
- Ability to specify the font size of the list box items
- Tooltip for each list box item to display the font name
Usage
The Font List Box component extends JList. Using this component is the same as using a JList. There are additoinal constructors to specify the rendering options for the component.
LicenseFontListBox()
Construct the font list box with font names rendered in the font in the default font size (24 point).FontListBox(boolean useFont)
This constructor allows for you to specify if you want the font rendering enabled. If it is enabled, it will use the default font size of 24 point.FontListBox(boolean useFont, int fontSize)
This constructor allows for you to specify if you want the font rendering enabled and what font size to use.
This component is licensed under the Apache License, Version 2.0.
Download
Font List Box Component
Feedback
If you have questions, comments, or suggestions, post them below.
Related Tutorials


1 comments:
Nice one!
But I find it more useful as a Combobox. Shouldn't be hard to implement...
Thanks
Post a Comment