Java JTree Color updateComponentTreeUI(Window window)

Here you can find the source of updateComponentTreeUI(Window window)

Description

update Component Tree UI

License

Open Source License

Declaration

private static void updateComponentTreeUI(Window window) 

Method Source Code

//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);
    }
}

Related

  1. getTreeBackground()
  2. setComponentTreeBackground(Component c, Color color)
  3. updateAllComponentTreeUIs()
  4. updateComponentTreeUI(Component c)
  5. updateComponentTreeUI(JComponent c)
  6. updateComponentTreeUI0(Component c)