private void refreshWidgets()
    {
        if (composite.isDisposed() || textName == null)
            return;

        if (fontsSorted == null || !fontsSorted.containsKey(sampleFontData.getName())) {
            textName.setText(BinaryEditorMessages.editor_binary_hex_default_font);
        } else {
            textName.setText(sampleFontData.getName());
        }
        showSelected(listFont, sampleFontData.getName());

        textStyle.setText(fontStyleToString(sampleFontData.getStyle()));
        listStyle.select(listStyle.indexOf(fontStyleToString(sampleFontData.getStyle())));

        updateSizeItems();
        textSize.setText(Integer.toString(sampleFontData.getHeight()));
        showSelected(listSize, Integer.toString(sampleFontData.getHeight()));

        refreshSample();
    }
Get the preferred font data

@return a copy of the preferred font data
plugins/org.jkiss.dbeaver.ui.editors.hex/src/org/jkiss/dbeaver/ui/editors/binary/pref/HexPreferencesManager.java