reading assistant in java swing