Illusion in Java