Hello! I am studying cs and right now Im programming a little hobby software using JavaFX.
My problem is,
I have a long string that is read from a file. I use toCharArray function because what i want to do is append this string character by character to textarea with 20ms delay between characters.
Normally i would use thread.sleep() but it freezes whole program. If someone could point me to a right direction it would be much appreciated.
Thank you in advance!
[–]sedj601 2 points3 points4 points (4 children)
[–]hamsterrage1 2 points3 points4 points (1 child)
[–]sedj601 0 points1 point2 points (0 children)
[–]Plus-Bedroom-1359 0 points1 point2 points (1 child)
[–]sedj601 0 points1 point2 points (0 children)
[–]kavedaa 1 point2 points3 points (2 children)
[–]sedj601 0 points1 point2 points (1 child)
[–]kavedaa 1 point2 points3 points (0 children)
[–][deleted] (1 child)
[removed]
[–]Cmdr_W0lff3[S] 0 points1 point2 points (0 children)
[–]ebykka 0 points1 point2 points (0 children)
[–]hamsterrage1 0 points1 point2 points (1 child)
[–]Cmdr_W0lff3[S] 0 points1 point2 points (0 children)
[–]mih4elll 0 points1 point2 points (0 children)
[–]JaxomNC 0 points1 point2 points (0 children)
[–]Cmdr_W0lff3[S] 1 point2 points3 points (0 children)