Hey guys, this is my First go at writing a program with Swing and my experience with java is severely limited. I am writing a program which will hopefully have basic file operation, modification of data within those files, search through an arraylist and import zip files. I have just started and don't think the structure i have made so far is right; any tips or advice would be great :) I tried writing the action event for my new or save button within it's own class but i haven't done it right and can't see where it is wrong or what i have done wrong. So yea thanks very much :)

// create a save function which checks to see if the get filename
// function returns a value if not execute the save as function
saveitem.addActionListener(this);// find location of action listener
savemenu.add(saveitem);