0

Hello guys i'm making a calculator using Javafx and want the text in the TextArea to auto scroll left when it become larger than the teaxtarea size

Edited

Question Answered below

Community
  • 1
  • 1
Tony George
  • 65
  • 2
  • 10

1 Answers1

0

Using this methods after every setText

object_Name.selectPositionCaret(lbl.getLength());
object_Name.deselect();
Tony George
  • 65
  • 2
  • 10