public void compile()
    {
        System.out.println("Compile()");
         this.outputWindow.setEditable(true);
        if(this.openedFile !=null && this.openedFile.exists())
        {
            this.outputWindow.setText(null);
            this.javaCompiler.compile(this.openedFile.getAbsolutePath());
        
        }
        else
        {
            this.outputWindow.setText("Nothing to compile\n");
        }
        this.outputWindow.setEditable(false);
    }