I'm looking for a method to make some lines of text auto-scroll continuous loop with JavaFX. This is very similar to the credits-like scrolling in these questions below. It is a workstation screen, not a mobile. The text is kind of fixed, not from a feed, so I want it to circulate...
- JavaFX auto-scroll auto-update text
- Creating smooth credits-like scrolling in scrollview
- how to implement Scroller in textview for auto scrolling?
A simple use case: you have 30 lines of text, but only 12 lines can be visible at any time. So I want to scroll the text up the screen with a bit of a break a the bottom, then the text wraps around and keeps scrolling.
I thought I could just add text at the bottom and take it away from the top, it turns out to not be the same. The visual effect of using a scrolling up... Is literally the important part of the specification. So I'm back to the beginning.
Some things I would prefer is to not need to destroy the text or re-load. Prefer to point to the current top-of-textbox or something so it wraps around. Otherwise it is like before, and I need to remove text from top and put text in at the bottom. Need JavaFX, can't use Javascript for app. What's your best shot? Thanks in advance.