Team2/Moving and Copying Java Elements

From CDOT Wiki
Jump to: navigation, search

Guide Line

  • First action we must take before demonstrating how moving and copying java elements works. Lets create another package called "secondAPP"
  • After package is created right-click the file "Lab1Exercise.java" under the firstAPP package, scroll down to "Refractor" and click on "Move...". The move window should have open
  • Select the "secondAPP" package and click OK
  • If you notice now, the class that was once in the "firstAPP" package is now in the "secondAPP" package and all necessary changes within the code has been made