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

Mise à jorur

parent 12537ede
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,9 @@ public class ShukanStudent extends JPanel{
private final Color GRID_COLOR = Color.BLACK;
/** Text color */
private Color TEXT_COLOR = Color.BLACK;
/** Color background, text, hollydays*/
private Color BACK_COLOR2 = Color.LIGHT_GRAY;
/** Displayed data */
private ShukanData data = null;
......@@ -74,7 +77,7 @@ public class ShukanStudent extends JPanel{
fontMetrics = g2.getFontMetrics();
fontHeight = fontMetrics.getAscent();
g2.setColor(BACK_COLOR);
g2.setColor(BACK_COLOR2);
g2.fillRect(appliWidth - w, appliHeight - h, w, h);
drawBox (g2, appliWidth - w, appliHeight - h, w, h);
displayCalendar(g2);
......@@ -167,5 +170,5 @@ public class ShukanStudent extends JPanel{
public void setForeground(Color c){
TEXT_COLOR = c;
repaint();
}
}
}
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