| Java Links
Eclipse Links
Eclipse Tips
- After updating files in the file system outside of the Eclipse
editor, do a refresh.
- If there is a warning about an error when starting a Java
program, but no error is displayed in the package explorer, do a
clean.
Eclipse Keyboard Shortcuts
- Key assist (displays a list of keyboard shortcuts): Ctrl-Shift-L
- Javadoc for a class or a method: Shift-F2
- Auto-format source code: Ctrl-Shift-F
- Auto-include import statements: Ctrl-Shift-O
Cloning Arrays
- a.clone() works if a is a one-dimensional array.
b.clone() does not work if b is a two-dimensional array since the cloning
process creates only a single new array. Sub-arrays are shared
between the original array and the clone.
|