sf.setRightAdjusted(); break; case 6: 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);		if (count == 0 && sf.isFER()) {			mdt = true;			return mdt;		}		for (; count >= 0; count--) {//			screen[pos].setChar(initChar);         planes.setChar(pos,initChar);			setDirty(pos);			pos++;			mdt = true;		}		int adj = sf.getAdjustment();		if (adj != 0) {			switch (adj) {			case 5:				rightAdjustField('0');				sf.setRightAdjusted();				break;			case 6:				rightAdjustField(' ');				sf.setRightAdjusted();				break;			case 7:				sf.setManditoryEntered();				break;			}		} else {			// we need to right adjust signed numeric fields as well.			if (sf.isSignedNumeric()) {				rightAdjustField(' ');			}		}		return mdt;	}