Team1/Editing Java elements

From CDOT Wiki
Jump to: navigation, search

4. Editing Java elements

4.1. Java elements are edited/browsed in editors. An editor is a visual component within the Workbench. Launch an editors by clicking on a FirstJavaProject.txt
Editor1.jpg


4.2. Type in "This is my editor". The asterics apeares beside the file name indicating that file have unsaved changes.
Editor2.jpg


4.3. Save the file and type in as second line "This is an extra line". Save your changes and right click on editor's area and choose Compare to -> Local History.
Editor3.jpg


4.4. The History view is showing local savings for this file. Select the latest save
Editor4.jpg


4.5. A new Compare editor appears in the editor window, showing the current and previous versions of the file
Editor5.jpg


4.6. Here you can undo last changes by clicking on Copy Current Changes from Right to Left
Editor6.jpg


4.7. Save your text file and close the Compare editor.