What is the best way to put a footer row into a JTable? Does anyone have any sample code to do this?
The only approach I\'ve thought of so far is to put a special ro
Try using a second JTable that uses the same column model as your data table and add your footer data to that table. Add the second (footer) table under your original table.
JTable footer = new JTable(model, table.getColumnModel());
panel.add(BorderLayout.CENTER, table);
panel.add(BorderLayout.SOUTH, footer);