使用JButton的setIcon()方法:这是最直接、最常用的方法,将一个ImageIcon对象设置给按钮,使用JButton的paintComponent()方法进行自定义绘制:这种方法更灵活,可以让你完全控制按钮的...