import java.awt.*; import java.awt.event.*; import java.applet.*; import java.io.*; class ManguRaam extends Mang1{ AudioClip laeKlipp(String failinimi){ try{return Applet.newAudioClip(new File(failinimi).toURL());}catch(Exception e){} return null; } public static void main(String argumendid[]){ Frame f=new Frame("Sigrimigri"); ManguRaam ap=new ManguRaam(); f.add(ap); f.setSize(300, 300); f.setVisible(true); ap.start(); f.addWindowListener( new WindowAdapter(){ public void windowClosing(WindowEvent e){ System.exit(0); } } ); } }