client/ClientWindow.java
/**
		 * Refresh all the orders being displayed in the table by fetching from the client
		 */
Refresh all the orders being displayed in the table by fetching from the client
Refresh all the orders being displayed in the table by fetching from the client
public void refreshOrders() {
			int previous = table.getSelectedRow();
			orderPanel.ordersTable.refresh();
			if(previous >= 0 && previous < table.getRowCount()) {
				table.setRowSelectionInterval(previous, previous);
			}
		}
public void refreshOrders ( ) { int previous = table . getSelectedRow ( ) ; orderPanel . ordersTable . refresh ( ) ; if ( previous >= 0 && previous < table . getRowCount ( ) ) { table . setRowSelectionInterval ( previous , previous ) ; } }
Refresh all the orders being displayed in the table by fetching from the client
Refresh all the orders being displayed in the table by fetching from the client
//Store previous selection //Update the model //Reselect