function ok()
%   This software is protected by german copyright and international treaties.             
%   Copyright 2004 Markus Junghöfer & Peter Peyk. All Rights Reserved.                     
%                                                                                          
%   THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE        
%   NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO,    
%   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE    
%   OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
%   TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT,       
%   INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE      
%   OR DOCUMENTATION.                                                                      
                              

okfigure = figure('Clipping','off', ...
	'Color',[0.8 0.8 0.8], ...
	'MenuBar','none', ...
	'Name','Fertig!', ...
	'NumberTitle','off', ...
	'PaperType','a4letter', ...
	'Position',[393 377 180 100], ...
	'Tag','Fig1');
okbutton = uicontrol('Parent',okfigure, ...
	'Units','points', ...
	'Position',[45.75 8.75 45 20], ...
	'String','OK', ...
	'Tag','Pushbutton1','Callback','close');
oktext = uicontrol('Parent',okfigure, ...
	'Units','points', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'Position',[8.25 40 120.75 24.75], ...
	'String','Vorgang abgeschlossen.', ...
	'Style','text', ...
	'Tag','StaticText1');
