Hey Maarlen!
I did a quick test to check your problem. I created a new data set and clicked F4, the result was that the folder was empty.
However, after running the project the JAVA file was there. I don't if you tried but if you can click on run and check the folder probably you'll able to see the file
Kind regards.