simple image editor written in java