Package logic

Examples of logic.InputValidator


    private void onBtMask(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_onBtMask
        System.out.println(cbMask.getSelectedIndex() + " -- " + cbMask.getSelectedItem());
    }//GEN-LAST:event_onBtMask

    private void onStartStop(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_onStartStop
        final InputValidator validator = new InputValidator();

        if (engine.isRunning()) {
            engine.stop();
        } else {
            try {
                resultModel.clear();

                engine.setup(validator.prepareSearchMask(maskCbModel.getSelectedItem().toString()),
                        validator.prepareFileMask(fileCbModel.getSelectedItem().toString()),
                        validator.prepareDirectories(dirCbModel.getSelectedItem().toString()));
                engine.process();
                setStartStopButtonState(false);
                storeInput();
            } catch (Exception ex) {
                log(LogLevel.ERROR, ex);
View Full Code Here

TOP

Related Classes of logic.InputValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.