public void paint(Graphics g){
     Graphics2D g2 = (Graphics2D)g;


Figure 1