Online photography - JAVA