The output from the code that follows is:
java.vendor Sun Microsystems Inc. java.version 1.6.0_26 java.runtime.version 1.6.0_26-b03 sun.arch.data.m
Try to add a System.gc() call when done with JFileChooser. I had some problems with file locks that this call fixed.
System.gc()