import java.applet.Applet; import java.awt.*; import java.awt.event.*; /** * Täishäälikud sõnes */ public class Soned4 extends Applet implements ActionListener{ TextField tf1=new TextField(20); TextField tf2=new TextField(20); char[] taish={'a', 'e', 'i', 'o', 'u', 'õ', 'ä', 'ö', 'ü'}; public Soned4(){ add(tf1); add(tf2); tf1.addActionListener(this); } public void actionPerformed(ActionEvent e){ char[] tahed=tf1.getText().toLowerCase().toCharArray(); int kokku=0; for(int i=0; i