thatoneguy01 / MusicSampleGrid

0 stars 0 forks source link

Buttons should load sounds in edit mode and play in play mode. #5

Closed thatoneguy01 closed 9 years ago

thatoneguy01 commented 9 years ago

use the getClip method to get a file object using the JFileChooser. then pass an alias and the file object into the loadClip method to prepare the sample. store the alias in a field for the edited button. play by calling the play(string alias) method.