Fix directory selection

Hi,
It seems that the there is no PropertyEditor available for java.io.File.
I am not sure if this is caused by Java 7 or a change in Netbeans integrated editors.

We can use a simple String for better compatibility.