I'm practicing basic programming in Java on BlueJ and doing a personal project in which the program will print characters in '*' form each 5 lines long based on the input.
I was wondering if there is way to go back to a specific line in the terminal window of BlueJ or do I have to work some other way?
If someone can give any suggestions to simplify the program, it would be helpful.
An OS-independent, device-independent, general way of doing it is to make a two dimensional character array which represents the screen. Being an array, you can of course fill it up in any order. Once ready, A simple nested loop can print out the contents to the output stream. Also language-independent.
Possible problems of this approach include output worth several thousand lines, or lines too wide.