+ File.separator + svgClassName + ".java";
final PrintWriter pw = new PrintWriter(
javaClassFilename);
SvgTranscoder transcoder = new SvgTranscoder(f.toURI()
.toURL().toString(), svgClassName);
transcoder
.setJavaToImplementResizableIconInterface(true);
transcoder.setListener(new TranscoderListener() {
public Writer getWriter() {
return pw;
}
public void finished() {
JOptionPane.showMessageDialog(null, "Finished");
}
});
transcoder.transcode();
} catch (IOException ex) {
ex.printStackTrace();
}
}