if (GlobalValues.interpreterTypeForPane == GlobalValues.EJMLMat)
scalaExec.Interpreter.GlobalValues.globalInterpreter.interpret(GlobalValues.basicImportsEJMLScala); // interpret the basic imports
else
scalaExec.Interpreter.GlobalValues.globalInterpreter.interpret(GlobalValues.basicImportsScala); // interpret the basic imports
initFrame.dispose();
GlobalValues.editorPane.setText(""); // reset the text of the Scala Interpreter Pane
// update the variable that keeps the Scala Interpreter Pane interpreter
GlobalValues.globalInterpreterPane.resetInterpreter(scalaExec.Interpreter.GlobalValues.globalInterpreter);