function h = uitspanel(varargin)
% Constructor for the uitspane class.

% Copyright 2003-2004 The MathWorks, Inc.

if nargin>=1
    import com.mathworks.mwswing.*;
    import java.awt.*;
    h = tsguis.uitspanel('Parent',varargin{1});
    h.jpanel = MJPanel(GridLayout(1,1));
    if nargin>=2
        h.Name = varargin{2};
    end
else
    h = tsguis.uitspanel;
end