use warning box to warn of loss of users' data
Java.txt: fix wrong method name in code example
Java.txt: remove trailing whitespace
Java.txt: add comment about PixelsType search

This block of code, which specifically locates the PixelsType
corresponding to that of the source image, is lengthy enough to
warrant a descriptive comment and whitespace separation.
Java.txt: fix indentation levels
Java.txt: add comment for image creation step
Java.txt: standardize comment style
Java.txt: standardize descriptive header
Java.txt: simplify plane data structure

The linearized map was a bit convoluted and rather outside the scope of
the example. A list works just fine here.
Merge pull request #486 from mtbc/rebased/develop/warn-data-loss

put permissions warning into a proper warning box (rebased onto develop)
fix variable name for consistency
Merge pull request #2 from mtbc/fix-code-examples

in Java code example fix variable name for consistency
Merge pull request #487 from joshmoore/rebased/develop/fix-code-examples

Fix Java code examples (rebased onto develop)