private void AddLabel() {

    GLabel label = new GLabel("Flag of Mali");
    label.setFont("Verdana-18");
    double x = getWidth() - label.getWidth();
    double y = getHeight() - label.getDescent();
    add(label, x, y);
  }
 /** Draws the inscription in the lower-right corner */
 private void drawInscription() {
   GLabel label = new GLabel("Flag of Luxembourg");
   label.setFont("Courier New");
   label.setColor(Color.BLACK);
   double x = getWidth() - label.getWidth();
   double y = getHeight() - label.getDescent();
   add(label, x, y);
 }
 /** The method accepts a string and displays the green text in the center of the screen */
 private GLabel createMessage(String message) {
   GLabel text = new GLabel(message);
   text.setFont("Arial Black-20");
   text.setColor(Color.GREEN);
   double x = (WIDTH - text.getWidth()) / 2;
   double y = (HEIGHT - text.getDescent()) / 2;
   text.setLocation(x, y);
   add(text);
   return text;
 }
 /** Displays the amount of points on the screen in text form */
 private GLabel createScore(String score) {
   GLabel text = new GLabel(score);
   text.setFont("Arial Black-12");
   text.setColor(Color.black);
   double x = (WIDTH - text.getWidth()) / 2;
   double y = HEIGHT - text.getDescent();
   text.setLocation(x, y);
   add(text);
   return text;
 }