From da7b5eac0eb157adc159fc56cd73c989cf6c8f42 Mon Sep 17 00:00:00 2001
From: berradag3u <louise.berrada1@etu.univ-lorraine.fr>
Date: Tue, 30 May 2023 16:18:49 +0200
Subject: [PATCH] Affichage texte

---
 shukan/ShukanView.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/shukan/ShukanView.java b/shukan/ShukanView.java
index 65e901e..2fde8a2 100644
--- a/shukan/ShukanView.java
+++ b/shukan/ShukanView.java
@@ -338,6 +338,8 @@ public class ShukanView extends JPanel
         int[] sched = data.scheduleInWeek (i, j);
         for (int k = 0; k < sched.length; k++)
         {
+          Font boldFont = new Font(g2.getFont().getFontName(), Font.BOLD, g2.getFont().getSize());
+          g2.setFont(boldFont);
           int ly = y;
           if (up[numact]) ly += textHeight * 2;
           else if (! down[numact]) ly += textHeight;
-- 
GitLab