private void updateSizeItems()
    {
        Set<Integer> sizes = fontsSorted.get(textName.getText());
        if (sizes == null) {
            listSize.removeAll();
            return;
        }
        String[] items = new String[sizes.size()];
        int i = 0;
        for (Iterator<Integer> j = sizes.iterator(); i < items.length; ++i) items[i] = j.next().toString();
        listSize.setItems(items);
    }
Set preferences to show a font. Use null to show default font.

@param aFontData the font to be shown.
plugins/org.jkiss.dbeaver.ui.editors.hex/src/org/jkiss/dbeaver/ui/editors/binary/pref/HexPreferencesManager.java