function filebrowser
%FILEBROWSER View the contents of the Current Directory.
%   FILEBROWSER Opens the Current Directory browser or brings the Current
%   Directory browser to the front if it is already open.

%   Copyright 1984-2004 The MathWorks, Inc. 
%   $Revision: 1.1.6.7 $

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

try
    % Launch the Current Directory Browser
    com.mathworks.mde.filebrowser.FileBrowser.invoke;    
catch
    % Failed. Bail
    error('Failed to open the Current Directory Browser');
end
