private static void repaintUI(Window window) { if (!window.isDisplayable()) { return; } window.repaint(); Window[] children = window.getOwnedWindows(); for (Window aChildren : children) { repaintUI(aChildren); } }
private static void updateUI(Window window) { if (!window.isDisplayable()) { return; } IJSwingUtilities.updateComponentTreeUI(window); Window[] children = window.getOwnedWindows(); for (Window aChildren : children) { updateUI(aChildren); } }