How JTables Work
by, 04-26-2012 at 09:48 PM (630 Views)
One of the most important things that shall be made understood is that data gets live just in DataModel. Rendered data is that one which is visible currently. No giant sort of bit map scrolling of the screen is present. Correspondent grid of the JComponents is also not present. Not a single JComponent’s row is even present. All of the cells are rendered by the TableCellRenderer which recycles the similar JComponent. New rows are brought forward from the DataModel when it is scrolled by the user. Rendered row’s bit map which is yet visible may totally not be RAM resident.