Example usage for com.jgoodies.looks FontSet getMenuFont

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

Introduction

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

Prototype

FontUIResource getMenuFont();

Source Link

Document

Returns the font used for the menu.

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  w w.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()));
}