function h = uitab(varargin)
%UITAB Container that will be hosted by a UITABGROUP.
%   UITAB('PropertyName1, Value1, 'PropertyName2', Value2, ...)
%   creates a container and adds it to the parent uitabgroup.  A UITAB
%   cannot be created without specifying its parent.  The uitab can have
%   the same child objects as a uipanel.
%
%   HANDLE = UITAB(...)
%   creates a tab and returns a handle to it in HANDLE.
%
%   Run GET(HANDLE) to see a list of properties and their current values.
%   Execute SET(HANDLE) to see a list of object properties and their legal
%   values.  
%
%   WARNING: These APIs are subject to change in future releases.
%
%   See also UITABGROUP, UIPANEL.

%   Copyright 2004 The MathWorks, Inc.
%   $Revision: 1.1.6.1 $  $Date: 2004/12/20 16:45:53 $

if feature('JavaFigures') == 0
    error('Uitab is not supported on this platform.');    
end

h = uitools.uitab(varargin{:});
h = double(h);
