NetBeans4.0 has a new file-browsing window called "Favorite". It's wonderfully useful and make the IDE closer to a whole OS environment. But there is a very dangerous feature in treating file systems. A bug? a spec?...Sorry I have not yet tried if this problem would be solved in NB4.1, but the fact remains that NB4 is RELEASED in public, so I have to alarm on it.
Now I will show how dangerous it is. Suppose there is, in Favorite window, a parent directory folder1, under which subfolder1 containing file1 and file2. You may want to copy subfolder1 under the same parent directory folder1, for backing it up or some reason. Then you will select subfolder1 node and select "Copy"...

...then select "Paste" on the parent folder1.

The result is,

Too dangerous! trappy! ...