Ya lo arregle!
he aqui el codigo por si alguien lo necesita:   
Código java:
Ver original-         ConexionMySQL mysql = new ConexionMySQL(); 
-          
-         sSQL = "UPDATE detalle " + 
-                 "SET cantidad = ?" + 
-                  "WHERE id_detalle = "+ide; 
-         mensaje = "Se ha modificado!..."; 
-          
-         try 
-         { 
-             pst.setString(1, ModifCant.getText()); 
-   
-   
-             int n = pst.executeUpdate(); 
-   
-             if(n > 0) 
-             { 
-                 CargarTablaDetalle(factura); 
-             } 
-         } 
-         { 
-         } 
-     }