I was the problem or rather my name. It contains an unusual Danish character () and this means that when I save your applet to a folder in my documents all path-names will contain this unusual character. But the applet cannot handle unusual characters in path names. I moved the applet to the root-directory (C:\) and all problems disappeared.