void (AWTEvent event) { Object source = event.getSource(); if (source instanceof AbstractFontCombo<?> combo) { if (combo.isEnabled() && combo.isShowing() && combo.getSelectedItem() != null) { syncFontFamilies(); } } }