Example usage for com.jgoodies.looks FontSet getWindowTitleFont

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

Introduction

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

Prototype

FontUIResource getWindowTitleFont();

Source Link

Document

Returns the font used for internal frame titles.

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   www  .j  a  v a 2s.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()));
}