Some Old Java Code