import java.applet.Applet; import java.awt.*; import java.awt.event.*; import java.awt.geom.*; import java.util.Vector; import java.io.*; public class Pildiredaktor extends Applet implements ActionListener, ItemListener, Serializable{ String kujundiNimed[] = {"Joon", "Ristkülik", "Ellips", "Vaba joon"}; String varviNimed[] = {"Must", "Punane", "Sinine", "Roheline"}; Color varvid[] = {Color.black, Color.red, Color.blue, Color.green}; Choice kujundiValik=new Choice(); Choice varviValik=new Choice(); TextField salvestaTF=new TextField("default.dgt"); TextField laeTF=new TextField("default.dgt"); Button salvestaB=new Button("Salvesta"); Button laeB=new Button("Lae"); Panel tooriistaRiba=new Panel(); Joonistusala joonistus=new Joonistusala(); public Pildiredaktor() { for (int i=0; i