Skip to content
Snippets Groups Projects
Commit 36162e11 authored by CHEVALIER Noemy's avatar CHEVALIER Noemy
Browse files

Modification affichage barre élève

parent 94b20a05
No related branches found
No related tags found
No related merge requests found
...@@ -307,18 +307,17 @@ public class ShukanView extends JPanel ...@@ -307,18 +307,17 @@ public class ShukanView extends JPanel
drawText (g2, 0, textHeight - 1, 2 * weekWidth, textHeight, data.loadName ()); drawText (g2, 0, textHeight - 1, 2 * weekWidth, textHeight, data.loadName ());
drawText (g2, 0, 3 * textHeight, 2* weekWidth, textHeight, data.studentName()); //Text : student name
drawText (g2, 0, 3 * textHeight, 2* weekWidth, textHeight, "Etudiant");
for (int i = 0; i < nbWeeks; i++) for (int i = 0; i < nbWeeks; i++)
{ {
int[] weekNumbers = data.weekNumbers (); int[] weekNumbers = data.weekNumbers ();
int[] hour = data.weekDurations (); int[] hour = data.weekDurations ();
drawText (g2, (i + 2) * weekWidth, 61, drawText (g2, (i + 2) * weekWidth, 61,
weekWidth, textHeight, "" + data.studentLoad(i)); weekWidth, textHeight, "" + data.studentLoad(i));
drawText (g2, (2 + i) * weekWidth, 0, drawText (g2, (2 + i) * weekWidth, 0,
weekWidth, 106, "/" + hour[i]); weekWidth, 106, "/" + hour[i]);
} }
// Texts : weeks // Texts : weeks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment