Skip to content
Snippets Groups Projects
Commit da7b5eac authored by BERRADA Louise's avatar BERRADA Louise
Browse files

Affichage texte

parent f6d397e6
No related branches found
No related tags found
No related merge requests found
...@@ -338,6 +338,8 @@ public class ShukanView extends JPanel ...@@ -338,6 +338,8 @@ public class ShukanView extends JPanel
int[] sched = data.scheduleInWeek (i, j); int[] sched = data.scheduleInWeek (i, j);
for (int k = 0; k < sched.length; k++) 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; int ly = y;
if (up[numact]) ly += textHeight * 2; if (up[numact]) ly += textHeight * 2;
else if (! down[numact]) ly += textHeight; else if (! down[numact]) ly += textHeight;
......
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