Hi Tom,
I think FileDialog should be made modal. If that is the case then
you should use fd.show() instead of fd.setVisible( true ). This will block on the statement until the user has chosen a file or cancelled the dialog. Then you can just get the chosen file and call some local method in the calling class.
Regards,
Manfred.