Good evening! Through Runtime.exec , a certain Linux program is called that dynamically displays the result in this form (the numbers change with a frequency of 5-10 seconds):
This dynamic display is achieved by inserting text into the text entry area. That is, the text is inserted into the input field, and, when updated, is erased and inserted again. Then the text does not "move" up, but remains on one line.
Question: how can this text be considered by any method ( Scanner , System.in , etc.)?
