/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package andmevahetus; import java.awt.Graphics; import javax.swing.JPanel; /** * * @author Opetaja */ public class RingideRittaJoonistaja extends JPanel { private int kogus; public RingideRittaJoonistaja(int uusKogus){ kogus=uusKogus; } @Override public void paintComponent(Graphics g){ super.paintComponent(g); for(int i=0; i