int pos = location;
if (location < 0 || location > lenScreen) {
   protected synchronized void setScreenData(String text, int location) {//                                             throws OhioException {      if (location < 0 || location > lenScreen) {         return;//         throw new OhioException(sessionVT.getSessionConfiguration(),//         				OhioScreen5250.class.getName(), "osohio.screen.ohio00300", 1);      }      int pos = location;      int l = text.length();      boolean updated = false;      boolean flag = false;      int x =0;      for (; x < l; x++) {         if (isInField(pos + x,true)) {            if (!screenFields.getCurrentField().isBypassField()) {               if (!flag) {                  screenFields.getCurrentField().setMDT();                  updated = true;                  resetDirty(pos + x);                  screenFields.setMasterMDT();                  flag = true;               }               planes.screen[pos + x] = text.charAt(x);               setDirty(pos + x);            }         }      }      lastPos = pos + x;      if (updated) {         fireScreenChanged(1);      }   }