Welcome to the JavaRanch.
I
added code tags to your post. Code tags make your code easier to read so please use them in the future.
As for your code, never ever Ever EVER do this:
If something were wrong with your code, you would never know. At a bare minimum, invoke e.printStackTrace().