if (sf.isSignedNumeric()) { rightAdjustField(' '); } }
   private boolean fieldExit() {      int pos = lastPos;      boolean mdt = false;      int end = endOfField(false);  // get the ending position of the first                                    // non blank character in field      ScreenField sf = screenFields.getCurrentField();      if (sf.isMandatoryEnter() && end == sf.startPos()) {         displayError(ERR_MANDITORY_ENTER);         return false;      }      // get the number of characters to the right      int count = (end - sf.startPos()) -                  sf.getKeyPos(pos);      for (;count >= 0; count--) {         screen[pos].setChar(initChar);         setDirty(pos);         pos++;         mdt = true;      }      int adj = sf.getAdjustment();      if (adj != 0) {         switch (adj) {            case 5://               System.out.println("Right adjust, zero fill " + screenFields.getCurrentField().getAdjustment());               rightAdjustField('0');               sf.setRightAdjusted();               break;            case 6://               System.out.println("Right adjust, blank fill " + screenFields.getCurrentField().getAdjustment());               rightAdjustField(' ');               sf.setRightAdjusted();               break;            case 7:               System.out.println("Mandatory fill " +screenFields.getCurrentField().getAdjustment());               sf.setManditoryEntered();               break;         }      }      return mdt;   }