MATLAB: Does the edit box in the GUI not look 3D and have a bluish border in MATLAB 7.9 (R2009b)

MATLAB

I have created a simple GUI with an edit box:
function mygui
% Create and then hide the GUI as it is being constructed.
f = figure('Visible','off','Position',[360,500,450,285]);
box = uicontrol('Style','edit',...
'String','Edit Text',...
'Units','normalized',...
'Position',[0.2 0.7 0.2 0.2],...
'BackgroundColor',[1 1 1 ]);
set(f,'Name','My GUI')
% Make the GUI visible.
set(f,'Visible','on');
end
When I run this GUI, the edit box border looks blue and the overall appearance of the Edit box is not 3D.

Best Answer

This is a result of the 'Windows and buttons' appearance style being set to 'Windows XP Style'. If you change this setting to 'Windows Classic Style', the appearance of the edit box becomes 3D.To change the style, right-click on the Windows Desktop, select Properties -> Appearance -> Windows and buttons, select 'Windows Classic Style' and click 'Apply.'