Here you can find the source of updateComponentTreeUI(Window window)
private static void updateComponentTreeUI(Window window)
//package com.java2s; //License from project: Open Source License import java.awt.Window; import javax.swing.SwingUtilities; public class Main { public static void updateComponentTreeUI() { for (Window window : Window.getWindows()) updateComponentTreeUI(window); }// www . j a va 2 s. c o m private static void updateComponentTreeUI(Window window) { SwingUtilities.updateComponentTreeUI(window); for (Window w : window.getOwnedWindows()) updateComponentTreeUI(w); } }