Note: You can use drag-and-drop to move resources between different workbench windows. Select a resource you want to move, and drag-and-drop it onto the desired destination. If you want to copy rather than move, hold the Ctrl key down while dragging.
You can also use drag-and-drop to copy resources between the workbench and the desktop (both ways), but you cannot move files from the desktop to the workbench using drag-and-drop.
Moving compilation units updates only package declarations; it does not update references to the classes declared in those compilation units. This can result in compilation errors. If you use the Refactor > Move command from the selected resource's pop-up menu, all references to classes defined in the selected compilation units will be updated.
Java projects
Refactoring support
Using the Package Explorer
Creating a new Java package
Copying and moving Java elements
Opening a package
Renaming a package