I'm working on a Java software project and I want to create a "waterfall" display, in which I need to draw a row of color-coded data at the bottom of the screen, and then "move" the rows up as the data ages and new rows are created. It seems to me that although it's possible to create the row data and then move the row-arrays through a 2d array representing the display area, that this isn't a very efficient way to go about things.
Obviously, if I were writing this in C or C++ I'd use pointers (and arrays of pointers).
How do I implement this in Java?