写一个类继承 JLabel,
在里面覆盖父类中的 public void paintComponent(Graphics g) 方法,在这个方法中以这个 Label 的宽高中的最小值的一半为半径画个圆并涂上图。
Graphics2D g2d = (Graphics2D) g;g2d.draw......
这个不能直接用label 要自己用Graphics 画的
drawOval
drawArc()