Java interface for PostPic