www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@xregGui/@waitbar/doFGColor.m

    function doFGColor(h)
%DOFGCOLOR  Set ForegroundColor
%
%  h.doFGColor;

%  Copyright 2000-2010 The MathWorks, Inc. and Ford Global Technologies, Inc.


c = java.awt.Color(h.ForegroundColor(1), h.ForegroundColor(2), h.ForegroundColor(3));
h.JavaProgress.Peer.setForeground(c);