Notification from the UIManager that the L&F has changed. Replaces the current UI object with the latest version from the UIManager . @see JComponent#updateUI
()
| 717 | * @see JComponent#updateUI |
| 718 | */ |
| 719 | public void updateUI() { |
| 720 | if(org.opensourcephysics.js.JSUtil.isJS) { // WC: User interface not supported in JavaScript |
| 721 | return; |
| 722 | } |
| 723 | setUI((TreeUI)UIManager.getUI(this)); |
| 724 | |
| 725 | SwingUtilities.updateRendererOrEditorUI(getCellRenderer()); |
| 726 | SwingUtilities.updateRendererOrEditorUI(getCellEditor()); |
| 727 | } |
| 728 | |
| 729 | |
| 730 | /** |
no test coverage detected