comparison src/org/tn5250j/framework/tn5250/Screen5250.java @ 146:8754f293f2fd

testing setfield functions
author Carl Byington <carl@five-ten-sg.com>
date Sat, 21 Jun 2014 17:54:29 -0700
parents 13cea57ac61e
children 695d0206eedb
comparison
equal deleted inserted replaced
145:4dfa4dd791c1 146:8754f293f2fd
2688 int position = l * numCols + c; 2688 int position = l * numCols + c;
2689 isInField(position, true); 2689 isInField(position, true);
2690 cf = screenFields.getCurrentField(); 2690 cf = screenFields.getCurrentField();
2691 lastPos = cf.getStartPos(); 2691 lastPos = cf.getStartPos();
2692 setDirty(lastPos); 2692 setDirty(lastPos);
2693 fireCursorChanged();
2693 } 2694 }
2694 2695
2695 if ((data != null) && (data.length > 0)) { 2696 if ((data != null) && (data.length > 0)) {
2696 cf = screenFields.getCurrentField(); 2697 cf = screenFields.getCurrentField();
2697 cf.setString(new String(data)); 2698 cf.setString(new String(data));