add DocumentListener to the subDisplayArea textfield and implement the logic to make the scrollbar display if either textfields length is greater than 25.