@Override public void updateUI() { if (getUI() == null || !(getUI() instanceof WebComboBoxUI)) { try { setUI((WebComboBoxUI) ReflectUtils.createInstance(WebLookAndFeel.comboBoxUI)); } catch (final Throwable e) { Log.error(this, e); setUI(new WebComboBoxUI()); } } else { setUI(getUI()); } }
@Override public void updateUI() { // Update table header UI if (getTableHeader() != null) { getTableHeader().updateUI(); } // Update table scroll view and UI configureEnclosingScrollPaneUI(); // Update table UI if (getUI() == null || !(getUI() instanceof WebTableUI)) { try { setUI((WebTableUI) ReflectUtils.createInstance(WebLookAndFeel.tableUI)); } catch (final Throwable e) { Log.error(this, e); setUI(new WebTableUI()); } } else { setUI(getUI()); } }