void () { SwingUtilities.updateComponentTreeUI(myCombo); ListCellRenderer renderer = myCombo.getRenderer(); if (renderer instanceof JComponent) { SwingUtilities.updateComponentTreeUI((JComponent)renderer); } }