Example usage for com.jgoodies.validation.view ValidationComponentUtils updateComponentTreeMandatoryBorder

List of usage examples for com.jgoodies.validation.view ValidationComponentUtils updateComponentTreeMandatoryBorder

Introduction

In this page you can find the example usage for com.jgoodies.validation.view ValidationComponentUtils updateComponentTreeMandatoryBorder.

Prototype

public static void updateComponentTreeMandatoryBorder(Container container) 

Source Link

Document

Traverses a component tree and sets mandatory borders to text components that have been marked as mandatory with #setMandatory(JComponent,boolean) before.

Usage

From source file:org.metawidget.swing.widgetprocessor.validator.jgoodies.JGoodiesValidatorProcessor.java

License:LGPL

public void onEndBuild(SwingMetawidget metawidget) {

    ValidationComponentUtils.updateComponentTreeMandatoryAndBlankBackground(metawidget);
    ValidationComponentUtils.updateComponentTreeMandatoryBorder(metawidget);
}