This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 101213 ] [ JDK VERSION : 1.6.22 ] When you select refactor->copy on a whole class the dialog suggests the name "<oldname>1" for the new class, however, if your intent is to copy the class into an other project this is not always what you want, if you do not notice this at the first glance you might end up with a class with the wrong name, also, if you copy from project to project it also might be prudent if the original packagename was retained.
You must select target project and package.
Does not matter, it still changes the name of the class and in 9 out of 10 you would like to retain the package name.
I still think this should be looked into. Imho if you copy a class from one project to another it should retains both the original classname and the original packagename otherwise you need to do a couple of refactor->move and refactor->rename on the class when it has reached it's target project.
Please use Ctrl-C and Ctrl-V. The is the simplest way how to copy things.