-   
-     private void-  jButton3ActionPerformed (- java. awt- . event- . ActionEvent-  evt ) {
 
- //limpia el modelo         
-         for (int i = jTable1.getRowCount() -1; i >= 0; i--){ 
-             Modelo.removeRow(i); 
-         } 
- //realiza la consulta 
-         try{ 
-             Conexion.result = Conexion.consulta.executeQuery("select * from nombretabla  " ); 
-   
-   
-         } 
-         try{ 
-             while(Conexion.result.next()) { 
-   
-                   v.add(Conexion.result.getString("id_cliente")); 
-                  v.add(Conexion.result.getString("precio")); 
-                 v.add(Conexion.result.getString("fecha")); 
-                 Modelo.addRow(v); 
-   
-             } 
- }    
-   
-   
-   
-   
-