Java 重新绘制JButton

2014-11-24 09:41:20 · 作者: · 浏览: 0

使用paintComponent()方法绘制的各种Button:


正常状态:



获得焦点状态:



被按下状态:



被释放状态:



实现代码: