VMContainer.invalidateTree(component); VMContainer.invalidateTree(jComponent);
VMAwtAPI.invalidateTree(component); VMAwtAPI.invalidateTree(jComponent);
            public void run() {                if (b) {                    jComponent.invalidate();                    VMContainer.invalidateTree(component);                    VMContainer.invalidateTree(jComponent);                    jComponent.validate();                }                jComponent.setVisible(b);                jComponent.repaint();                toolkit.getAwtContext().getDesktop().repaint();            }