Auto scroll to end not working with GTextarea

Thank you so much.
I am working on making software and serial communication is a part of it (which has many other UI elements, saving files…) will jtextarea method work along with g4p lib? and will there be any effect in the speed of receiving data as my code have many other functions?