import javax.sound.midi.*; import java.awt.*; import java.awt.event.*; import java.applet.Applet; public class Pillid extends Applet{ int x,y; public void paint(Graphics g){ try{ Synthesizer synthesizer=MidiSystem.getSynthesizer(); synthesizer.open(); Instrument[] pillid=synthesizer.getDefaultSoundbank(). getInstruments(); MidiChannel kanal=synthesizer.getChannels()[0]; for(int i=0; i