function lyngby_ui_message(String) 

% lyngby_ui_message	- Display a message
%
%	function lyngby_ui_message(String)
%
%	Input:	String		Error Message to be shown
%
%	Made with GUI Maker Ver 2.1 by Patrick Marchand

%  Using  : GUI Maker Ver 2.1 by Patrick Marchand 
%                         (PRMarchand@aol.com) 
%  Copyright (c)   
%       Permission is granted to modify and re-distribute this 
%	code in any manner as long as this notice is preserved. 
%	All standard disclaimers apply. 

% cvs : $Id: lyngby_ui_message.m,v 1.6 2001/07/02 13:26:44 mgl Exp $
%       $Revision: 1.6 $    

    lyngby_ui_option
    

    fig = figure('position',[ 78 201 395 250 ],... 
	'resize','On','tag','lyngby_ui_message',... 
	'menubar','Figure','name','lyngby - Message',... 
	'numbertitle','Off','visible','off',...
	'Color', UI_COLOR_BACK); 

    buttonOk = uicontrol(... 
	'CallBack','close(gcf)',...
	'BackgroundColor', UI_COLOUR_BUTTON,...
	'ForegroundColor', UI_COLOR_FRONT,... 
	'Units','normalized',... 
	'Position',[ 0.4 0.08 0.18 0.16 ],... 
	'String','Close',... 
	'Style','pushbutton',... 
	'Tag','buttonOk',... 
	'UserData',''); 
    textMessage = uicontrol(... 
	'BackgroundColor', UI_COLOR_BACK2,... 
	'ForegroundColor', UI_COLOR_FRONT,... 
	'Units','normalized',... 
	'Position',[ 0.05 0.3 0.89 0.64 ],... 
	'Style','text',... 
	'Tag','textMessage',... 
	'UserData','',...
	'String', String);

    %		'CallBack','lyngby_ui_message(''textMessage'');',... 

    %et(gcf,'userdata',handle_list); 
    drawnow;pause(.1); 
    set(gcf,'visible','on'); 







