JFrame 'freeze'
I have created an audio file player that is able to select a file via a JFileChooser, and play it. However when I try to do anything at all whilst the file is playing (like close the frame, or output any information to a JScrollPane) I have to wait until the file has finished playing before I can get a result.
It would appear that the script running the file has to complete before the JFrame updates - what am I missing that causes this? Obviously waiting for the script to return before updating the user about the track playing is not what I intended!

