PAs de doc 3

This commit is contained in:
medhi.rodrigues
2025-03-13 10:27:03 +01:00
parent bdef3c80bf
commit 38812a33fb
7 changed files with 11 additions and 65 deletions

View File

@@ -4,7 +4,7 @@
*/
package presentation;
import acces_aux_donnes.observationSQL;
import acces_aux_donnes.ObservationSQL;
/**
*
@@ -94,7 +94,7 @@ public class jffAjoutObservation extends javax.swing.JFrame {
}// </editor-fold>//GEN-END:initComponents
private void jBsoumettreActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBsoumettreActionPerformed
observationSQL observ = new observationSQL();
ObservationSQL observ = new ObservationSQL();
observ.ajouterObservation(this.idMedoc, this.idPraticien, jTAobservation.getText());
}//GEN-LAST:event_jBsoumettreActionPerformed

View File

@@ -4,7 +4,7 @@
*/
package presentation;
import acces_aux_donnes.praticienSQL;
import acces_aux_donnes.PraticienSQL;
/**
*
@@ -158,7 +158,7 @@ public class jffConnexion extends javax.swing.JFrame {
private void jBValiderActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBValiderActionPerformed
String identifiant = jTFIdentifiant.getText();
String mdp = String.valueOf(jPFmdp.getPassword());
praticienSQL testPraticien = new praticienSQL();
PraticienSQL testPraticien = new PraticienSQL();
String [] lePraticien = testPraticien.rechercherPraticien(identifiant,mdp);
if (lePraticien[0] != null){
System.out.print("TEST REUSSIE");

View File

@@ -4,7 +4,7 @@
*/
package presentation;
import Metier.medicament;
import Metier.Medicament;
import acces_aux_donnes.MedicamentSQL;
import java.util.ArrayList;
@@ -103,7 +103,7 @@ public class jffFamilleMedoc extends javax.swing.JFrame {
String effetTrouve = rechercheMedoc.get(3);
String contreIndicationTrouve = rechercheMedoc.get(4);
String imgTrouve = "../img/"+ idTrouve +".jpg";
medicament medocTrouve = new medicament(idTrouve, nomTrouve , compositionTrouve, effetTrouve
Medicament medocTrouve = new Medicament(idTrouve, nomTrouve , compositionTrouve, effetTrouve
, contreIndicationTrouve,imgTrouve);
new jffInfoMedoc(medocTrouve).setVisible(true);

View File

@@ -4,7 +4,7 @@
*/
package presentation;
import Metier.medicament;
import Metier.Medicament;
/**
*
@@ -15,7 +15,7 @@ public class jffInfoMedoc extends javax.swing.JFrame {
/**
* Creates new form jffInfoMedoc
*/
public jffInfoMedoc(medicament medocTrouve) {
public jffInfoMedoc(Medicament medocTrouve) {
initComponents();
}