From d1402ea3df6745fdefb3954d94ed766b479325ca Mon Sep 17 00:00:00 2001 From: "emile.malcuit" Date: Fri, 14 Mar 2025 11:19:01 +0100 Subject: [PATCH] dsfdsf --- .../src/presentation/jffInfoMedoc.form | 104 ++++++++++-------- .../src/presentation/jffInfoMedoc.java | 72 ++++++------ 2 files changed, 98 insertions(+), 78 deletions(-) diff --git a/GSBapplication/src/presentation/jffInfoMedoc.form b/GSBapplication/src/presentation/jffInfoMedoc.form index 735c051..eda0ef8 100644 --- a/GSBapplication/src/presentation/jffInfoMedoc.form +++ b/GSBapplication/src/presentation/jffInfoMedoc.form @@ -91,7 +91,7 @@ - + @@ -115,58 +115,60 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + @@ -174,12 +176,15 @@ - + - + + + + @@ -264,6 +269,13 @@ + + + + + + + diff --git a/GSBapplication/src/presentation/jffInfoMedoc.java b/GSBapplication/src/presentation/jffInfoMedoc.java index 9e95197..3e7659b 100644 --- a/GSBapplication/src/presentation/jffInfoMedoc.java +++ b/GSBapplication/src/presentation/jffInfoMedoc.java @@ -65,6 +65,7 @@ public class jffInfoMedoc extends javax.swing.JFrame { jBsuivant = new javax.swing.JButton(); jBprecedent = new javax.swing.JButton(); jLObservation = new javax.swing.JLabel(); + jLabel1 = new javax.swing.JLabel(); jMenuBar1 = new javax.swing.JMenuBar(); jMPage = new javax.swing.JMenu(); jMIProfession = new javax.swing.JMenuItem(); @@ -113,49 +114,53 @@ public class jffInfoMedoc extends javax.swing.JFrame { .addContainerGap(19, Short.MAX_VALUE)) ); + jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/logodetoure.gif"))); // NOI18N + javax.swing.GroupLayout jPFondLayout = new javax.swing.GroupLayout(jPFond); jPFond.setLayout(jPFondLayout); jPFondLayout.setHorizontalGroup( jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPFondLayout.createSequentialGroup() - .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addComponent(jSeparator1, javax.swing.GroupLayout.Alignment.TRAILING) - .addGroup(jPFondLayout.createSequentialGroup() - .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGroup(jPFondLayout.createSequentialGroup() - .addContainerGap() - .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) - .addGroup(jPFondLayout.createSequentialGroup() - .addComponent(jLContrindication, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) - .addComponent(jLEffet, javax.swing.GroupLayout.PREFERRED_SIZE, 166, javax.swing.GroupLayout.PREFERRED_SIZE)) - .addGroup(jPFondLayout.createSequentialGroup() - .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPFondLayout.createSequentialGroup() - .addComponent(jLComposition, javax.swing.GroupLayout.PREFERRED_SIZE, 265, javax.swing.GroupLayout.PREFERRED_SIZE) - .addGap(140, 140, 140)) - .addGroup(jPFondLayout.createSequentialGroup() - .addGap(183, 183, 183) - .addComponent(jLNomCo, javax.swing.GroupLayout.PREFERRED_SIZE, 144, javax.swing.GroupLayout.PREFERRED_SIZE) - .addGap(78, 78, 78))) - .addComponent(jLImage, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE) - .addGap(38, 38, 38)))) - .addGroup(jPFondLayout.createSequentialGroup() - .addGap(168, 168, 168) - .addComponent(jLNomMedoc))) - .addGap(0, 163, Short.MAX_VALUE))) + .addComponent(jSeparator1) .addContainerGap()) .addGroup(jPFondLayout.createSequentialGroup() .addContainerGap() - .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) - .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(jPFondLayout.createSequentialGroup() + .addComponent(jLContrindication, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jLEffet, javax.swing.GroupLayout.PREFERRED_SIZE, 391, javax.swing.GroupLayout.PREFERRED_SIZE) + .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addGroup(jPFondLayout.createSequentialGroup() + .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addGroup(jPFondLayout.createSequentialGroup() + .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPFondLayout.createSequentialGroup() + .addComponent(jLComposition, javax.swing.GroupLayout.PREFERRED_SIZE, 265, javax.swing.GroupLayout.PREFERRED_SIZE) + .addGap(140, 140, 140)) + .addGroup(jPFondLayout.createSequentialGroup() + .addGap(183, 183, 183) + .addComponent(jLNomCo, javax.swing.GroupLayout.PREFERRED_SIZE, 144, javax.swing.GroupLayout.PREFERRED_SIZE) + .addGap(78, 78, 78))) + .addComponent(jLImage, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE))) + .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) + .addGroup(jPFondLayout.createSequentialGroup() + .addGap(168, 168, 168) + .addComponent(jLNomMedoc) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 300, Short.MAX_VALUE) + .addComponent(jLabel1) + .addGap(267, 267, 267)) ); jPFondLayout.setVerticalGroup( jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPFondLayout.createSequentialGroup() - .addContainerGap() - .addComponent(jLNomMedoc) - .addGap(35, 35, 35) + .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(jPFondLayout.createSequentialGroup() + .addContainerGap() + .addComponent(jLNomMedoc)) + .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addGap(25, 25, 25) .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPFondLayout.createSequentialGroup() .addComponent(jLNomCo, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE) @@ -167,7 +172,9 @@ public class jffInfoMedoc extends javax.swing.JFrame { .addComponent(jLContrindication, javax.swing.GroupLayout.PREFERRED_SIZE, 141, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)) - .addComponent(jLEffet, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE))) + .addGroup(jPFondLayout.createSequentialGroup() + .addComponent(jLEffet, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE) + .addGap(0, 0, Short.MAX_VALUE)))) .addComponent(jLImage, javax.swing.GroupLayout.PREFERRED_SIZE, 172, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) @@ -315,6 +322,7 @@ public class jffInfoMedoc extends javax.swing.JFrame { private javax.swing.JLabel jLNomCo; private javax.swing.JLabel jLNomMedoc; private javax.swing.JLabel jLObservation; + private javax.swing.JLabel jLabel1; private javax.swing.JMenuItem jMIFamille; private javax.swing.JMenuItem jMIObservation; private javax.swing.JMenuItem jMIProfession;