/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package andmevahetus2; import java.awt.Graphics; /** * * @author Opetaja */ public class RingideKuvaja extends GraafilineKuvaja{ @Override public void paintComponent(Graphics g){ super.paintComponent(g); int sammuLaius=getWidth()/kogus; for(int i=0; i