I have been working on a file called DataForm.java where an array
called colourNames should be inserted into a choice box, the menu
items and buttons that I have used can listen to action events.
When the user presses the save button, they see the fileDialog box
for save and the accept button creates a file for the details to be
written to. I have been having a lot of problems. If someone could
explain to me why what I have done is wrong, I would much appreciate
it. I have added the files I am using in the zip file called "Java
files.zip" where DataForm.java has the main method.