language = _bsfManager.getLangFromFilename(file.getName());
language = BSFManager.getLangFromFilename(file.getName());
    public void loadScript(File file) throws IOException {        if (file == null) {            _scriptFile = null;            if (_ui != null) _ui.scriptFileChanged(file);            setScript("", "");            return;        }        String language = "Unknown";        try {            language = _bsfManager.getLangFromFilename(file.getName());        } catch (Throwable t) {}        loadScript(language, new FileReader(file));        _scriptFile = file;        if (_ui != null) _ui.scriptFileChanged(file);    }