重写BasicButtonUI类的paint方法,不能设置图标如题请问是否是要重写paintIcon方法?又怎么写.谢谢。[解决办法]就在 paint方法里调用 icon的paintIcon方法。[解决办法]
if(b.getIcon() != null) { paintIcon(g,c,iconRect); }