posted 17 years ago
Hi all,
In my application, I am using a font resource(TTF file), which i load using
InputStream in = getClass().getResourceAsStream("ARIALUNI.TTF");
Font font = Font.createFont(Font.TRUE_TYPE,in);
Every time, I use this resource, a temp file named "+~JFxxxx.tmp" is created in the TEMP directory. This happens even when the app is deployed as a jar. Can anyone let me know, if this can be avoided or how to remove these temp files when the program terminates.
Thanks in advance
Pradeep