use of org.netbeans.validation.api.ui.ValidationGroup in project gephi-plugins-bootcamp by gephi.
the class ConvertColumnToDynamicUI method getSettingsPanel.
@Override
public JPanel getSettingsPanel() {
//Create a validation panel:
ValidationPanel validationPanel = new ValidationPanel();
validationPanel.setInnerComponent(this);
ValidationGroup group = validationPanel.getValidationGroup();
group.add(startText, new DoubleValidator());
group.add(endText, new DoubleValidator());
return validationPanel;
}
Aggregations