MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / updateUI

Method updateUI

unused/javax/swing/JTree.java:719–727  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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 /**

Callers 1

JTreeMethod · 0.95

Calls 4

setUIMethod · 0.95
getCellRendererMethod · 0.95
getCellEditorMethod · 0.95
getUIMethod · 0.80

Tested by

no test coverage detected