float Y = ((int)sArea.getY() + fmHeight)- (lm.getLeading() + lm.getDescent()); switch (attr) {
switch (attr) {
   public void setStatus(byte attr,byte value,String s) {      Graphics2D g2d = getWritingArea();      statusString = s;      if (g2d == null)         return;      try {         g2d.setColor(colorBg);         g2d.fill(sArea);         float Y = ((int)sArea.getY() + fmHeight)- (lm.getLeading() + lm.getDescent());         switch (attr) {            case STATUS_SYSTEM:               if (value == STATUS_VALUE_ON) {                  statusXSystem =true;                  g2d.setColor(colorWhite);                  if (s != null)                     g2d.drawString(s,(float)sArea.getX(),Y);                  else                     g2d.drawString(xSystem,(float)sArea.getX(),Y);               }               else                  statusXSystem = false;               break;            case STATUS_ERROR_CODE:               if (value == STATUS_VALUE_ON) {                  g2d.setColor(colorRed);                  if (s != null)                     g2d.drawString(s,(float)sArea.getX(),Y);                  else                     g2d.drawString(xError,(float)sArea.getX(),Y);                  statusErrorCode = true;                  setKeyboardLocked(true);                  Toolkit.getDefaultToolkit().beep();               }               else {                  statusErrorCode = false;                  setKeyboardLocked(false);                  homePos = saveHomePos;                  saveHomePos = 0;                  pendingInsert = false;               }               break;         }         updateImage(sArea.getBounds());         g2d.dispose();      }      catch (Exception e) {         System.out.println(" setStatus " + e.getMessage());      }   }