>
<a name="setButtonIcon(javax.swing.AbstractButton, javax.swing.Icon)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setButtonIcon</h4>
<pre>public static&nbsp;void&nbsp;setButtonIcon(javax.swing.AbstractButton&nbsp;btn,
                 javax.swing.Icon&nbsp;ico)</pre>
<div class="block"><span class="strong">已过时。</span>&nbsp;<i>since 3.6</i></div>
<div class="block">为按钮设置图标，并据原图icon自动调用方法 <code>#filterWithRescaleOp(ImageIcon, float