add title to textField to inputPeriod JFrame