... tochangetheinstrumentandnote.Experimentby passing in twointvaluesfrom 0 to 1 27. The first intsets the instrument,the second intsetsthenoteto play.importjavax.sound.midi.*;) 1/ closemai.npublicvoidplay(intinstrument,intnote){trySequencerplayer=MidiSystem.getSequencer();player.open();Sequenceseq= ... newSequence(Sequence.PPQ,4);Tracktrack=seq.createTrack(),MidiEventevent=null;ShortMessage first = newShortMessage(); first. setMessage(192,1,instrument,0);MidiEventchangelnstrument.= newMidiEvent (first, track.add(changelnstrument);1);ShortHessagea ... etc.frame.getcont&ntPane().add(myButton);The javax.swing package has morethana dozenwidgettypes.• Drow 2t>graphics on Q widgetUse a graphicsobjectto paint shapes.graphics.fi110val (70 ,70 ,lOO,lOO);Youcan...