A screenshot program written in java