Example usage for java.awt Component revalidate

List of usage examples for java.awt Component revalidate

Introduction

In this page you can find the example usage for java.awt Component revalidate.

Prototype

public void revalidate() 

Source Link

Document

Revalidates the component hierarchy up to the nearest validate root.

Usage

From source file:Main.java

public static void forceRepaint(Component component) {
    component.revalidate();
    component.repaint();
}