protected void computing(WoodChecker check, int helpers, int wantSave, char mode, File out) {
        outFile = out;
        inL.setText(PathShortener.pathLengthShortener(inFile.getName(), 15));
        outL.setText(PathShortener.pathLengthShortener(outFile.getName(), 15));
        helpL.setText(helpers + "");
        saveL.setText(wantSave + "");
        lMode.setText(mode + "");
        round = 0;
        lRound.setText(round + "");
        MBSaved = wantSave / 100.;
        try {
            Helfer helfer[] = new Helfer[helpers];
            for (int i = 0; i < helpers; i++) {
                switch (i % 4) {
                    case 0:
                        helfer[i] = new Helfer(check.getSize()[0] / 2, 0);
                        break;
                    case 1:
                        helfer[i] = new Helfer(0, check.getSize()[1] / 2);
                        break;
                    case 2:
                        helfer[i] = new Helfer(check.getSize()[0] / 2, check.getSize()[1] - 1);
                        break;
                    case 3:
                        helfer[i] = new Helfer(check.getSize()[0] - 1, check.getSize()[1] / 2);
                        break;
                }
            }
            wald wood = new wald(check.wood);
            Computer computer = new Computer(wood, helfer);
            computer.setOutstr(out.getAbsolutePath());
            if(mode=='e'){
                prevent=false;
                computer.setModus(Modus.ernstfallmod);
            }else{
                prevent=true;
            	computer.setModus(Modus.preventievmod);
            }
            computer.prepare();
            comp = computer;
            switch (mode) {
                case 'p':
                    comp.setModus(Modus.preventievmod);
                    break;
                case 'e':
                    comp.setModus(Modus.ernstfallmod);
                    break;
                default:
                    break;
            }
            comp.runde();
            draw(comp.getWood());
            bRun.setVisible(true);
            bRStep.setVisible(true);
        } catch (FileNotFoundException ex) {
            JOptionPane.showMessageDialog(this, "Some problems by accessing the input file", "Error!", JOptionPane.WARNING_MESSAGE);
            Logger.getLogger(MainFrame.class.getName()).log(Level.SEVERE, null, ex);
        }
    }