Thank you for your reply.
I am not familiar with the flag set function (new at this Java stuff), and am pretty sure that is not how the program is suppose to work. The information I am trying to record is the sequence of the buttons pushed (which calls the synth class that plays the sound until the "stop" record button is pressed. Then, I am suppose to be able to "replay" the stored file and have it play the sequence/notes recorded. I thought that a "button" in a frame resulted in an button object, therefore I was trying to record this information via ObjectOutputStream. Now I am not to sure.
I have already set up listeners for all the buttons (record, stop, and replay along with the 128 buttons for individual notes - per the synth class). I guess I am still confused about how to proceed. Record objects? I would like to post the whole program and see what you think (by the way, I have already verified the button to note part of the program, now I am trying to add in the I/O part - write to a file and read from a file), but it is 125 lines long and I do not know how readable that would be.
Any additional suggestions are appreciated.
Thank you,
Mitch