close all;
h = figure(1);
p = uipanel(h,'title','test panel','units','normalized','position',[0,0,1,0.6]);
pushb = uicontrol(h,'style','pushbutton','string','dummybutton','units','normalized','position',[0 0.85 0.25 0.07]);
pushb2 = uicontrol(p,'style','pushbutton','string','dummybutton2','units','normalized','position',[0.3 0.85 0.25 0.07]);
set(pushb2,'parent',h)
pause (1);
set(p,'visible','off')
