...
> > Im trying to have my java desktop <i> application </i>
Usenet readers do not understand HTML, whereas
'usenet format' is more like /italic/ or *bold*.
...
> > my code is...
> >
> > iImageCount = 1; //example
> > File filImg = new File("/temp/myImage" + iImageCount + ".png");
> > ImageIO.write(renImage, "png", filImg);
This code is very haphazzard, it is no surprise to me
that it fails.
> > the error that comes up is a fileNotFoundException!
...
> I think you should use the File.seperator,
Good call, that is also available as
System.getProperty("file.separator"),
..also look into..
"java.io.tmpdir"
And file constructor File(File parent, String name),
which allows you to ignore file.separator, and..
..oh, yeah. What Missaka was saying, check each
dir/file along the way,
- does it exit?
- is it writable?
Andrew T.