/**
  * Called when Screen Gains focus.
  *
  * @throws IOException if display device commands fail
  */
 void focusGained() throws IOException {
   Reporting.report("Screen", 2, "Screen %s gained focus", id);
   clear();
   hasGainedFocus();
   paint(true);
 }