I ran into this as well a while back. I looked around and I think it may be becuase OS X expects a single button mouse so you have to handle the event as a control click in your java code. Anyway the way I got around it is that you can copy and paste a folder and then rename it using the options on the menu bar.
Regards,
Christian