From e0614485881f23046e5f9a0b287e68cbea15fd42 Mon Sep 17 00:00:00 2001 From: Jenson VAL Date: Thu, 23 Oct 2025 00:30:20 +0200 Subject: [PATCH] suppresion ancien rappel --- src/fr/iutfbleau/papillon/Rappel.java | 48 --------------------------- 1 file changed, 48 deletions(-) delete mode 100644 src/fr/iutfbleau/papillon/Rappel.java diff --git a/src/fr/iutfbleau/papillon/Rappel.java b/src/fr/iutfbleau/papillon/Rappel.java deleted file mode 100644 index 914074e..0000000 --- a/src/fr/iutfbleau/papillon/Rappel.java +++ /dev/null @@ -1,48 +0,0 @@ -// package fr.iutfbleau.papillon; - -import javax.swing.*; -import java.awt.*; - -public class Rappel extends JPanel{ - private final int ide = -1; - private final String titre = "loute"; - private final String contenu = "que veux tu"; - private final String theme = ""; - private final int rang = -1; - - private final JLabel lbtitre; - private final JLabel lbcontenu; - -public Rappel(){ - super(new BorderLayout(2,0)); - - lbtitre = new JLabel(titre); - lbcontenu = new JLabel(contenu); - - this.setPreferredSize(new Dimension(70, 50)); - this.setBackground(Color.CYAN); - this.setBorder(BorderFactory.createLineBorder(Color.LIGHT_GRAY, 2)); - - setLayout(new GridBagLayout()); - GridBagConstraints c = new GridBagConstraints(); - c.anchor = GridBagConstraints.NORTHWEST; - - // --- Position du titre (en haut) -c.gridx = 0; -c.gridy = 0; -c.weighty = 0; // ne prend pas l'espace -c.fill = GridBagConstraints.NONE; -add(lbtitre, c); - - - // --- Position du contenu (en dessous) -c.gridx = 0; -c.gridy = 1; -c.weighty = 0; -c.fill = GridBagConstraints.NONE; -add(lbcontenu, c); - - -} - -} \ No newline at end of file