So I am trying to open a file using JFileChooser... What does the Open button return? Do i have to set a actionListener for it? Because there is a Open button there by default in OS X. Any idea how to set an actionListener to something that is already created?