Example usage for com.jgoodies.looks FontSet getSmallFont

List of usage examples for com.jgoodies.looks FontSet getSmallFont

Introduction

In this page you can find the example usage for com.jgoodies.looks FontSet getSmallFont.

Prototype

FontUIResource getSmallFont();

Source Link

Document

Returns the font used for tool tips.

Usage

From source file:FontTest.java

License:Open Source License

private void addFontSet(StringBuffer buffer, String description, FontSet fontSet) {
    buffer.append("\n\n");
    buffer.append(description);/*  w w w .  jav a2  s.c o m*/
    if (fontSet == null) {
        buffer.append("\n  n/a");
        return;
    }
    buffer.append("\n    controlFont=");
    buffer.append(encodeFont(fontSet.getControlFont()));
    buffer.append("\n    menuFont=");
    buffer.append(encodeFont(fontSet.getMenuFont()));
    buffer.append("\n    titleFont=");
    buffer.append(encodeFont(fontSet.getTitleFont()));
    buffer.append("\n    messageFont=");
    buffer.append(encodeFont(fontSet.getMessageFont()));
    buffer.append("\n    smallFont=");
    buffer.append(encodeFont(fontSet.getSmallFont()));
    buffer.append("\n    windowTitleFont=");
    buffer.append(encodeFont(fontSet.getWindowTitleFont()));
}