Package core.operation

Examples of core.operation.CreateNewTestOperation


    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        //if (jTextField1.getText().equals("") || jTextField2.getText().equals("") || jTextField3.getText().equals("") ) return;
        //MainWindow.runningProject.tests.add(new SpecificTest(
        //        jTextField1.getText(),jTextField2.getText(),jTextField3.getText()));
        //dispose();
        CreateNewTestOperation test = new CreateNewTestOperation(jTextField1.getText());
       
        if (jCheckBox1.isSelected()) test.setCPUTime();
        if (jCheckBox5.isSelected()) test.setHandlers();
        if (jCheckBox7.isSelected()) test.setInput(jTextField2.getText());
        if (jCheckBox3.isSelected()) test.setMemory();
        if (jCheckBox8.isSelected()) test.setOutput(jTextField3.getText());
        if (jCheckBox4.isSelected()) test.setThreadNumber();
        if (jCheckBox2.isSelected()) test.setElapsedTime();
        if (jCheckBox6.isSelected()) test.setProcessID();
        test.setTimeLimit(jTextField6.getText());
        test.execute();
        dispose();
    }//GEN-LAST:event_jButton1ActionPerformed
View Full Code Here

TOP

Related Classes of core.operation.CreateNewTestOperation

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.