Example usage for com.jgoodies.looks FontSet getMessageFont

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

Introduction

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

Prototype

FontUIResource getMessageFont();

Source Link

Document

Returns the font used for message dialogs.

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);//from   w ww  .j av  a  2 s .  c om
    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()));
}