totalOrderPrice.setCellFactory(new FormattedTableCellFactory<OrderTableRow, Integer>(Pos.CENTER_RIGHT));
List<Order> orders = orderService.findAllOrders();
ObservableList<OrderTableRow> orderRows = FXCollections.observableArrayList();
for(Order order : orders) {
orderRows.add(new OrderTableRow(order));
}
table.setItems(orderRows);
}