# HG changeset patch # User Carl Byington # Date 1400791265 25200 # Node ID 3248b46f3973000a9e796c6ea0db506ffddfac7a # Parent 1b9e27659ef7b034911c18fff1aa136d5695c3b8 adding tn5250 files diff -r 1b9e27659ef7 -r 3248b46f3973 libs/android-logging-log4j-1.0.3.jar Binary file libs/android-logging-log4j-1.0.3.jar has changed diff -r 1b9e27659ef7 -r 3248b46f3973 libs/log4j-1.2.17.jar Binary file libs/log4j-1.2.17.jar has changed diff -r 1b9e27659ef7 -r 3248b46f3973 src/org/tn5250j/framework/tn5250/Screen5250.java --- a/src/org/tn5250j/framework/tn5250/Screen5250.java Thu May 22 13:10:44 2014 -0700 +++ b/src/org/tn5250j/framework/tn5250/Screen5250.java Thu May 22 13:41:05 2014 -0700 @@ -189,7 +189,7 @@ /** * Copy & Paste support - * + * * @see {@link #pasteText(String, boolean)} * @see {@link #copyTextField(int)} */ @@ -226,7 +226,7 @@ /** * Copy & Paste support - * + * * @param content * @see {@link #copyText(Rectangle)} */ @@ -315,7 +315,7 @@ /** * Copy & Paste support - * + * * @param position * @return * @see {@link #copyText(int)} @@ -456,10 +456,8 @@ if (planes.getChar(pos + 1) != '=' && planes.getChar(pos + 1) != '.' && planes.getChar(pos + 1) != '/') { - // System.out.println(" Hotspot clicked!!! we will send - // characters " + - // screen[pos].getChar() + - // screen[pos+1].getChar()); + log.debug(" Hotspot clicked!!! we will send characters " + + planes.getChar(pos) + " " + planes.getChar(pos+1)); aid.append(planes.getChar(pos)); aid.append(planes.getChar(pos + 1)); } else { @@ -1895,7 +1893,7 @@ return endPos; - } + } screenFields.getCurrentField().getKeyPos(endPos); if (posSpace) screenFields.getCurrentField().changePos(+1); return screenFields.getCurrentFieldPos(); @@ -3155,7 +3153,7 @@ // 0 - up // 1 - down int updown = direction & 0x80; - final int lines = direction & 0x7F; + final int lines = direction & 0x7F; // calculate the reference points for the move. int start = this.getPos(topLine - 1, 0); @@ -3183,7 +3181,7 @@ //Do nothing ... tooo small!!! } else { planes.setChar(x - lines * numCols, planes.getChar(x)); - //and clear + //and clear planes.setChar(x, ' '); } } @@ -3504,11 +3502,6 @@ } - public boolean checkHotSpots() { - - return planes.checkHotSpots(); - } - protected void setChar(int cByte) { if (lastPos > 0) { lastAttr = planes.getCharAttr(lastPos - 1);