function filebrowser
%FILEBROWSER File Browser
%
%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.3 $

err = javachk('mwt', 'The Current Directory Browser');
if ~isempty(err)
    error(err);
end

try
    % Launch Java Current Directory Browser
    browser = com.mathworks.ide.browsers.FileBrowser.invoke;
    if nargout > 0
        varargout{1} = browser;
    end
catch
    % Failed. Bail
    error('Failed to open the Current Directory Browser');
end
