fontBox.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createEtchedBorder(),
BorderFactory.createEmptyBorder(pad, pad, pad, pad)));
// There seems to be no good way to change the default background color
// of all components. The color is needed for making the etched border.
Style style = StyleUtil.getStyle();
if (style != null) {
fontBox.setBackground(style.getPlainColor());
}
JCheckBox fontToggle = new JCheckBox("Custom Decorative Font");
fontToggle.setToolTipText("Set a custom font for the travel log and achievements");
fontBox.add(fontToggle);