Add logo with a java function.