public void cancelPedido() {
        for (int row = tmprod.getRowCount() - 1; row >= 0; row--) {
            tmprod.removeRow(row);
        }
        jLblPrecio.setText(null);
        for (int row = tmcli.getRowCount() - 1; row >= 0; row--) {
            tmcli.removeRow(row);
        }
        cargarProductos();
        cargarClienteS();
        jLblPrecio.setText(null);
        for (int row = tmped.getRowCount() - 1; row >= 0; row--) {
            tmped.removeRow(row);
        }
        jBtnAceptar.setEnabled(false);
        jBtnCancel.setEnabled(false);
        flagcli = false;
    }