Convert mel window to panel

Is it difficult to change a window script as seen below, so that it would become enabled to become a panel?

thanks, joshua

//---------------

global proc dembo (string $aaaaa)
{
string $aaaaa = "fooss";

window -t "MyWindow" -wh 380 350 $aaaaa;
scrollLayout scrollLayout;
columnLayout -adjustableColumn true;

setParent ..;
showWindow $aaaaa;
}