There are two TextAreas in my application and I want to make the scrollbars slide synchronized when I move one of the scrollbars. But I can’t find a way to do that in JavaFX 2.2.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This worked for me:
In common case, you can apply a lookupAll(String) operation at TextArea to find scroll bar inside the TextArea, and bind their values bidirectionally.