Actually the question in the header is very clearly stated.
You need to create (once, in the future, to read and write to it) the folder is password protected. What it means Java can I do that?
Known the platform on which your application will run on: Windows XP sp 2.
PS Google as something intelligible could not answer, or I asked it wrong =(