chooser.setLocation(mitteX-getWidth()/2-200,mitteY-getHeight()/2-200);
chooser.setCurrentDirectory(new java.io.File(letztesVerzeichniss));
ExtensionFileFilter filter = new ExtensionFileFilter( );
VSFile ref=((VSFile)getReference());
for (int i=0;i<ref.getExtensionsCount();i++)
{
filter.addExtension(ref.getExtension(i));
}
filter.setDescription(ref.getDescription());
chooser.addChoosableFileFilter(filter);
int returnVal = chooser.showOpenDialog(null);