fun updateUI() { setUI(javax.swing.UIManager.getUI(this) as javax.swing.plaf.TableHeaderUI) val renderer: javax.swing.table.TableCellRenderer = getDefaultRenderer() if (renderer is Component) { javax.swing.SwingUtilities.updateComponentTreeUI(renderer as Component) } }
Notification from the < code > UIManager < /code > that the look and feel ( L & amp ; F ) has changed . Replaces the current UI object with the latest version from the < code > UIManager < /code > .