bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void getPointFromRowCol (int r, int c, Point point) { point.x = screen[getPos(r,c)].x; point.y = screen[getPos(r,c)].y; } | public void getPointFromRowCol (int r, int c, Point point) { point.x = screen[getPos(r,c)].x; point.y = screen[getPos(r,c)].y; } | 5,636 |
public int getRowColFromPoint (int x, int y) { // is x,y in the drawing area // x is left to right and y is top to bottom// if (tArea.contains(x,y)) {//// // int cols = (numCols - ((((fmWidth * numCols) - x) / fmWidth)));// // System.out.println(cols);// return getPos... | public int getRowColFromPoint (int x, int y) { // is x,y in the drawing area // x is left to right and y is top to bottom// if (tArea.contains(x,y)) {//// // int cols = (numCols - ((((fmWidth * numCols) - x) / fmWidth)));// // System.out.println(cols);//if (x > tArea.getMaxX()) ... | 5,637 |
public int getRowColFromPoint (int x, int y) { // is x,y in the drawing area // x is left to right and y is top to bottom// if (tArea.contains(x,y)) {//// // int cols = (numCols - ((((fmWidth * numCols) - x) / fmWidth)));// // System.out.println(cols);// return getPos... | public int getRowColFromPoint (int x, int y) { // is x,y in the drawing area // x is left to right and y is top to bottom// if (tArea.contains(x,y)) {//// // int cols = (numCols - ((((fmWidth * numCols) - x) / fmWidth)));// // System.out.println(cols);// return getPos... | 5,638 |
void jbInit() throws Exception { if (!config.isPropertyExists("font")) { font = new Font("dialoginput",Font.PLAIN,14); config.setProperty("font","dialoginput"); } else { font = new Font(getStringProperty("font"),Font.PLAIN,14); } gui.setFont(font); lastAttr = 32;... | void jbInit() throws Exception { if (!config.isPropertyExists("font")) { font = new Font("dialoginput",Font.PLAIN,14); config.setProperty("font","dialoginput"); } else { font = new Font(getStringProperty("font"),Font.PLAIN,14); } gui.setFont(font); lastAttr = 32;... | 5,641 |
public void moveCursor (MouseEvent e) { if(!keyboardLocked) { int pos = getRowColFromPoint(e.getX(),e.getY());// System.out.println((getRow(pos)) + "," + (getCol(pos)));// System.out.println(e.getX() + "," + e.getY()+ "," + fmWidth+ "," + fmHeight); if (pos == 0) retur... | public void moveCursor (MouseEvent e) { if(!keyboardLocked) { int pos = getRowColFromPoint(e.getX(),e.getY());// System.out.println((getRow(pos)) + "," + (getCol(pos)));// System.out.println(e.getX() + "," + e.getY()+ "," + fmWidth+ "," + fmHeight); if (pos == 0) retur... | 5,642 |
public void moveCursor (MouseEvent e) { if(!keyboardLocked) { int pos = getRowColFromPoint(e.getX(),e.getY());// System.out.println((getRow(pos)) + "," + (getCol(pos)));// System.out.println(e.getX() + "," + e.getY()+ "," + fmWidth+ "," + fmHeight); if (pos == 0) retur... | public void moveCursor (MouseEvent e) { if(!keyboardLocked) { int pos = getRowColFromPoint(e.getX(),e.getY());// System.out.println((getRow(pos)) + "," + (getCol(pos)));// System.out.println(e.getX() + "," + e.getY()+ "," + fmWidth+ "," + fmHeight); if (pos < 0) return... | 5,643 |
protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint(); System.out.println("Summing"); System.out.println(workR); // loop through all the screen characters to send them to the clip board ... | protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint(); System.out.println("Summing"); System.out.println(workR); // loop through all the screen characters to send them to the clip board ... | 5,645 |
protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint(); System.out.println("Summing"); System.out.println(workR); // loop through all the screen characters to send them to the clip board ... | protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint(); System.out.println("Summing"); System.out.println(workR); // loop through all the screen characters to send them to the clip board ... | 5,646 |
protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint(); System.out.println("Summing"); System.out.println(workR); // loop through all the screen characters to send them to the clip board ... | protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint(); System.out.println("Summing"); System.out.println(workR); // loop through all the screen characters to send them to the clip board ... | 5,647 |
protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint(); System.out.println("Summing"); System.out.println(workR); // loop through all the screen characters to send them to the clip board ... | protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint(); System.out.println("Summing"); System.out.println(workR); // loop through all the screen characters to send them to the clip board ... | 5,648 |
protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint(); System.out.println("Summing"); System.out.println(workR); // loop through all the screen characters to send them to the clip board ... | protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint(); System.out.println("Summing"); System.out.println(workR); // loop through all the screen characters to send them to the clip board ... | 5,649 |
protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint(); System.out.println("Summing"); System.out.println(workR); // loop through all the screen characters to send them to the clip board ... | protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint(); System.out.println("Summing"); System.out.println(workR); // loop through all the screen characters to send them to the clip board ... | 5,650 |
public Point translateEnd(Point end) { // because getRowColFromPoint returns position offset as 1,1 we need // to translate as offset 0,0 int pos = getRowColFromPoint(end.x,end.y);// if (pos >= 0 && pos <= lenScreen) { int x = screen[pos].x + fmWidth - 1; int y = screen[pos].y + f... | public Point translateEnd(Point end) { // because getRowColFromPoint returns position offset as 1,1 we need // to translate as offset 0,0 int pos = getRowColFromPoint(end.x,end.y);// if (pos >= 0 && pos <= lenScreen) { int x = screen[pos].x + fmWidth - 1; int y = screen[pos].y + f... | 5,651 |
public Point translateEnd(Point end) { // because getRowColFromPoint returns position offset as 1,1 we need // to translate as offset 0,0 int pos = getRowColFromPoint(end.x,end.y);// if (pos >= 0 && pos <= lenScreen) { int x = screen[pos].x + fmWidth - 1; int y = screen[pos].y + f... | public Point translateEnd(Point end) { // because getRowColFromPoint returns position offset as 1,1 we need // to translate as offset 0,0 int pos = getRowColFromPoint(end.x,end.y);// if (pos >= 0 && pos <= lenScreen) { int x = screen[pos].x + fmWidth - 1; int y = screen[pos].y + f... | 5,652 |
public Point translateEnd(Point end) { // because getRowColFromPoint returns position offset as 1,1 we need // to translate as offset 0,0 int pos = getRowColFromPoint(end.x,end.y);// if (pos >= 0 && pos <= lenScreen) { int x = screen[pos].x + fmWidth - 1; int y = screen[pos].y + f... | publicPointtranslateEnd(Pointend){//becausegetRowColFromPointreturnspositionoffsetas1,1weneed//totranslateasoffset0,0intpos=getRowColFromPoint(end.x,end.y);//if(pos>=0&&pos<=lenScreen){intx=screen[pos].x+fmWidth-1;inty=screen[pos].y+fmHeight-1;//System.out.println("ex="+x+"sx="+rubberband.getStartPoint().x);end.setLoca... | 5,653 |
public Point translateEnd(Point end) { // because getRowColFromPoint returns position offset as 1,1 we need // to translate as offset 0,0 int pos = getRowColFromPoint(end.x,end.y);// if (pos >= 0 && pos <= lenScreen) { int x = screen[pos].x + fmWidth - 1; int y = screen[pos].y + f... | public Point translateEnd(Point end) { // because getRowColFromPoint returns position offset as 1,1 we need // to translate as offset 0,0 int pos = getRowColFromPoint(end.x,end.y);// if (pos >= 0 && pos <= lenScreen) { int x = screen[pos].x + fmWidth - 1; int y = screen[pos].y + f... | 5,654 |
public Point translateStart(Point start) { // because getRowColFromPoint returns position offset as 1,1 we need // to translate as offset 0,0 int pos = getRowColFromPoint(start.x,start.y); start.setLocation(screen[pos].x,screen[pos].y); return start; } | public Point translateStart(Point start) { // because getRowColFromPoint returns position offset as 1,1 we need // to translate as offset 0,0 int pos = getPosFromView(start.x,start.y); start.setLocation(screen[pos].x,screen[pos].y); return start; } | 5,655 |
public synchronized int GetScreen(char buffer[], int bufferLength, int plane)// throws OhioException { { return GetScreen(buffer,bufferLength,0,lenScreen,plane); } | public synchronized int GetScreen(char buffer[], int bufferLength, int plane)// throws OhioException { { return GetScreen(buffer,bufferLength,0,lenScreen,plane); } | 5,657 |
public synchronized int GetScreen(char buffer[], int bufferLength, int plane)// throws OhioException { { return GetScreen(buffer,bufferLength,0,lenScreen,plane); } | public synchronized int GetScreen(char buffer[], int bufferLength, int plane)// throws OhioException { { return GetScreen(buffer,bufferLength,0,lenScreen,plane); } | 5,658 |
public synchronized int GetScreenRect(char buffer[], int bufferLength, int startPos, int endPos, int plane)// throws OhioException { { return planes.GetScreenRect(buffer, bufferLen... | public synchronized int GetScreenRect(char buffer[], int bufferLength, int startPos, int endPos, int plane)// throws OhioException { { return planes.GetScreenRect(buffer, bufferLen... | 5,659 |
public synchronized int GetScreenRect(char buffer[], int bufferLength, int startPos, int endPos, int plane)// throws OhioException { { return planes.GetScreenRect(buffer, bufferLen... | public synchronized int GetScreenRect(char buffer[], int bufferLength, int startPos, int endPos, int plane)// throws OhioException { { return planes.GetScreenRect(buffer, bufferLen... | 5,660 |
protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | 5,663 |
protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | 5,664 |
protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | 5,665 |
protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | 5,666 |
protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | 5,667 |
protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | 5,668 |
protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | protected void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; planes.setScreenCharAndAttr(lastPos, initChar, lastAttr, true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format tab... | 5,669 |
public void addScreenListener(ScreenListener listener) { if (listeners == null) { listeners = new java.util.Vector(3); } listeners.addElement(listener); } | public void addScreenListener(ScreenListener listener) { if (listeners == null) { listeners = new java.util.Vector(3); } listeners.addElement(listener); } | 5,671 |
public void addScreenListener(ScreenListener listener) { if (listeners == null) { listeners = new java.util.Vector(3); } listeners.addElement(listener); } | public void addScreenListener(ScreenListener listener) { if (listeners == null) { listeners = new java.util.Vector(3); listeners = new java.util.Vector(3); } listeners.addElement(listener); } listeners.addElement(listener); } | 5,672 |
public boolean checkHotSpots() { return planes.checkHotSpots(); } | public boolean checkHotSpots() { return planes.checkHotSpots(); } | 5,675 |
protected void clearAll() { lastAttr = 32; lastPos = 0; clearTable(); clearScreen(); planes.setScreenAttr(0,initAttr); insertMode = false; oia.setInsertMode(insertMode); } | protected void clearAll() { lastAttr = 32; lastPos = 0; clearTable(); clearScreen(); planes.setScreenAttr(0,initAttr); insertMode = false; oia.setInsertMode(insertMode); } | 5,676 |
protected void clearAll() { lastAttr = 32; lastPos = 0; clearTable(); clearScreen(); planes.setScreenAttr(0,initAttr); insertMode = false; oia.setInsertMode(insertMode); } | protected void clearAll() { lastAttr = 32; lastPos = 0; clearTable(); clearScreen(); planes.setScreenAttr(0,initAttr); insertMode = false; oia.setInsertMode(insertMode); } | 5,677 |
protected void clearGuiStuff() { for (int x = 0; x < lenScreen; x++) { planes.setUseGUI(x,NO_GUI); } dirtyScreen.setBounds(0,lenScreen - 1,0,0); } | protected void clearGuiStuff() { for (int x = 0; x < lenScreen; x++) { planes.setUseGUI(x,NO_GUI); } dirtyScreen.setBounds(0,lenScreen - 1,0,0); } | 5,678 |
protected void clearGuiStuff() { for (int x = 0; x < lenScreen; x++) { planes.setUseGUI(x,NO_GUI); } dirtyScreen.setBounds(0,lenScreen - 1,0,0); } | protected void clearGuiStuff() { for (int x = 0; x < lenScreen; x++) { planes.setUseGUI(x,NO_GUI); } dirtyScreen.setBounds(0,lenScreen - 1,0,0); } | 5,679 |
protected void clearScreen() { planes.initalizePlanes(); dirtyScreen.setBounds(0,lenScreen - 1,0,0); oia.clearScreen(); } | protected void clearScreen() { planes.initalizePlanes(); dirtyScreen.setBounds(0,lenScreen - 1,0,0); oia.clearScreen(); } | 5,680 |
protected void clearScreen() { planes.initalizePlanes(); dirtyScreen.setBounds(0,lenScreen - 1,0,0); oia.clearScreen(); } | protected void clearScreen() { planes.initalizePlanes(); dirtyScreen.setBounds(0, lenScreen - 1, 0, 0); oia.clearScreen(); } | 5,681 |
protected void clearScreen() { planes.initalizePlanes(); dirtyScreen.setBounds(0,lenScreen - 1,0,0); oia.clearScreen(); } | protected void clearScreen() { planes.initalizePlanes(); dirtyScreen.setBounds(0,lenScreen - 1,0,0); oia.clearScreen(); } | 5,682 |
public final void copyField(int pos) { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); screenFields.saveCurrentField(); isInField(pos); log.debug("Copying"); StringSelection contents = new StringSelection(screenFields .getCurrentFieldText()); cb.setConten... | public final void copyField(int pos) { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); screenFields.saveCurrentField(); isInField(pos); log.debug("Copying"); StringSelection contents = new StringSelection(screenFields .getCurrentFieldText()); cb.setConten... | 5,684 |
public final void copyMe(Rectangle area) { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); workR.setBounds(area); log.debug("Copying" + workR); // loop through all the screen characters to send them to the clip board int m = workR.x; int i = 0; int t = ... | public final void copyMe(Rectangle area) { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); workR.setBounds(area); log.debug("Copying" + workR); // loop through all the screen characters to send them to the clip board int m = workR.x; int i = 0; int t = ... | 5,686 |
public final void copyMe(Rectangle area) { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); workR.setBounds(area); log.debug("Copying" + workR); // loop through all the screen characters to send them to the clip board int m = workR.x; int i = 0; int t = ... | public final void copyMe(Rectangle area) { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); workR.setBounds(area); log.debug("Copying" + workR); // loop through all the screen characters to send them to the clip board int m = workR.x; int i = 0; int t = ... | 5,687 |
public final void copyMe(Rectangle area) { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); workR.setBounds(area); log.debug("Copying" + workR); // loop through all the screen characters to send them to the clip board int m = workR.x; int i = 0; int t = ... | public final void copyMe(Rectangle area) { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); workR.setBounds(area); log.debug("Copying" + workR); // loop through all the screen characters to send them to the clip board int m = workR.x; int i = 0; int t = ... | 5,688 |
protected void createScrollBar(int flag, int totalRowScrollable, int totalColScrollable, int sliderRowPos, int sliderColPos, int sbSize) { // System.out.println("Scrollbar flag: " + flag + // " scrollable Rows: " + totalRowScrollable + // " scrollable Col... | protected void createScrollBar(int flag, int totalRowScrollable, int totalColScrollable, int sliderRowPos, int sliderColPos, int sbSize) { // System.out.println("Scrollbar flag: " + flag + // " scrollable Rows: " + totalRowScrollable + // " scrollable Col... | 5,689 |
protected void createScrollBar(int flag, int totalRowScrollable, int totalColScrollable, int sliderRowPos, int sliderColPos, int sbSize) { // System.out.println("Scrollbar flag: " + flag + // " scrollable Rows: " + totalRowScrollable + // " scrollable Col... | protected void createScrollBar(int flag, int totalRowScrollable, int totalColScrollable, int sliderRowPos, int sliderColPos, int sbSize) { // System.out.println("Scrollbar flag: " + flag + // " scrollable Rows: " + totalRowScrollable + // " scrollable Col... | 5,690 |
protected void createScrollBar(int flag, int totalRowScrollable, int totalColScrollable, int sliderRowPos, int sliderColPos, int sbSize) { // System.out.println("Scrollbar flag: " + flag + // " scrollable Rows: " + totalRowScrollable + // " scrollable Col... | protected void createScrollBar(int flag, int totalRowScrollable, int totalColScrollable, int sliderRowPos, int sliderColPos, int sbSize) { // System.out.println("Scrollbar flag: " + flag + // " scrollable Rows: " + totalRowScrollable + // " scrollable Col... | 5,691 |
protected void createScrollBar(int flag, int totalRowScrollable, int totalColScrollable, int sliderRowPos, int sliderColPos, int sbSize) { // System.out.println("Scrollbar flag: " + flag + // " scrollable Rows: " + totalRowScrollable + // " scrollable Col... | protected void createScrollBar(int flag, int totalRowScrollable, int totalColScrollable, int sliderRowPos, int sliderColPos, int sbSize) { // System.out.println("Scrollbar flag: " + flag + // " scrollable Rows: " + totalRowScrollable + // " scrollable Col... | 5,692 |
protected void createScrollBar(int flag, int totalRowScrollable, int totalColScrollable, int sliderRowPos, int sliderColPos, int sbSize) { // System.out.println("Scrollbar flag: " + flag + // " scrollable Rows: " + totalRowScrollable + // " scrollable Col... | protected void createScrollBar(int flag, int totalRowScrollable, int totalColScrollable, int sliderRowPos, int sliderColPos, int sbSize) { // System.out.println("Scrollbar flag: " + flag + // " scrollable Rows: " + totalRowScrollable + // " scrollable Col... | 5,693 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,695 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,696 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; //... | 5,697 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,698 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,699 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,700 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,701 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,702 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,703 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,704 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,705 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,706 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,707 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,708 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,709 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,710 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,711 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,712 |
protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | protected void createWindow(int depth, int width, int type, boolean gui, int monoAttr, int colorAttr, int ul, int upper, int ur, int left, int right, int ll, int bottom, int lr) { int c = getCol(lastPos); int w = 0; width++; w = width; // set leading attribute byte// screen[lastPos].setCharAndAttr(initChar, ... | 5,713 |
private void displayError(int ec) { saveHomePos = homePos; homePos = lastPos + numCols + 1; pendingInsert = true; sessionVT.sendNegResponse2(ec); } | private void displayError(int ec) { saveHomePos = homePos; homePos = lastPos + numCols + 1; pendingInsert = true; sessionVT.sendNegResponse2(ec); } | 5,714 |
protected void drawFields() { ScreenField sf; int sizeFields = screenFields.getSize(); for (int x = 0; x < sizeFields; x++) { sf = screenFields.getField(x); if (!sf.isBypassField()) { int pos = sf.startPos(); int l = sf.length; boolean f = true; if (l >= lenScreen) l = lenScreen - 1; if (l > ... | protected void drawFields() { ScreenField sf; int sizeFields = screenFields.getSize(); for (int x = 0; x < sizeFields; x++) { sf = screenFields.getField(x); if (!sf.isBypassField()) { int pos = sf.startPos(); int l = sf.length; boolean f = true; if (l >= lenScreen) l = lenScreen - 1; if (l > ... | 5,716 |
protected void drawFields() { ScreenField sf; int sizeFields = screenFields.getSize(); for (int x = 0; x < sizeFields; x++) { sf = screenFields.getField(x); if (!sf.isBypassField()) { int pos = sf.startPos(); int l = sf.length; boolean f = true; if (l >= lenScreen) l = lenScreen - 1; if (l > ... | protected void drawFields() { ScreenField sf; int sizeFields = screenFields.getSize(); for (int x = 0; x < sizeFields; x++) { sf = screenFields.getField(x); if (!sf.isBypassField()) { int pos = sf.startPos(); int l = sf.length; boolean f = true; if (l >= lenScreen) l = lenScreen - 1; if (l > ... | 5,717 |
protected void drawFields() { ScreenField sf; int sizeFields = screenFields.getSize(); for (int x = 0; x < sizeFields; x++) { sf = screenFields.getField(x); if (!sf.isBypassField()) { int pos = sf.startPos(); int l = sf.length; boolean f = true; if (l >= lenScreen) l = lenScreen - 1; if (l > ... | protected void drawFields() { ScreenField sf; int sizeFields = screenFields.getSize(); for (int x = 0; x < sizeFields; x++) { sf = screenFields.getField(x); if (!sf.isBypassField()) { int pos = sf.startPos(); int l = sf.length; boolean f = true; if (l >= lenScreen) l = lenScreen - 1; if (l > ... | 5,718 |
protected void drawFields() { ScreenField sf; int sizeFields = screenFields.getSize(); for (int x = 0; x < sizeFields; x++) { sf = screenFields.getField(x); if (!sf.isBypassField()) { int pos = sf.startPos(); int l = sf.length; boolean f = true; if (l >= lenScreen) l = lenScreen - 1; if (l > ... | protected void drawFields() { ScreenField sf; int sizeFields = screenFields.getSize(); for (int x = 0; x < sizeFields; x++) { sf = screenFields.getField(x); if (!sf.isBypassField()) { int pos = sf.startPos(); int l = sf.length; boolean f = true; if (l >= lenScreen) l = lenScreen - 1; if (l > ... | 5,719 |
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); r... | 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); r... | 5,723 |
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); r... | 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); r... | 5,724 |
private synchronized void fireCursorChanged(int update) { int startRow = getRow(lastPos); int startCol = getCol(lastPos); if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { ScreenListener target = (ScreenListener)listene... | private synchronized void fireCursorChanged(int update) { int startRow = getRow(lastPos); int startCol = getCol(lastPos); if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { ScreenListener target = (ScreenListener)listene... | 5,726 |
private synchronized void fireCursorChanged(int update) { int startRow = getRow(lastPos); int startCol = getCol(lastPos); if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { ScreenListener target = (ScreenListener)listene... | private synchronized void fireCursorChanged(int update) { int startRow = getRow(lastPos); int startCol = getCol(lastPos); if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { ScreenListener target = (ScreenListener)listene... | 5,727 |
private void fireScreenChanged(int which, int startRow, int startCol, int endRow, int endCol) { if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { ScreenListener target = (ScreenListener)listeners.e... | private void fireScreenChanged(int which, int startRow, int startCol, if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { ScreenListener target = (ScreenListener)listeners.elementAt(i); ta... | 5,728 |
private void fireScreenChanged(int which, int startRow, int startCol, int endRow, int endCol) { if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { ScreenListener target = (ScreenListener)listeners.e... | private void fireScreenChanged(int which, int startRow, int startCol, int endRow, int endCol) { if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { ScreenListener target = (ScreenListener)listeners.e... | 5,729 |
private void fireScreenSizeChanged() { if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { ScreenListener target = (ScreenListener)listeners.elementAt(i); target.onScreenSizeChanged(numRows,numCols); } } } | private void fireScreenSizeChanged() { if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { ScreenListener target = (ScreenListener)listeners.elementAt(i); target.onScreenSizeChanged(numRows,numCols); } } } | 5,730 |
public synchronized boolean[] getActiveAidKeys() { return sessionVT.getActiveAidKeys(); } | public synchronized boolean[] getActiveAidKeys() { return sessionVT.getActiveAidKeys(); } | 5,731 |
public char[] getData(int startRow, int startCol, int endRow, int endCol, int plane) { try { int from = getPos(startRow,startCol); int to = getPos(endRow,endCol); if (from > to) { int f = from; to = f; from = f; } return planes.getPlaneDat... | public char[] getData(int startRow, int startCol, int endRow, int endCol, int plane) { try { int from = getPos(startRow,startCol); int to = getPos(endRow,endCol); if (from > to) { int f = from; to = f; from = f; } return planes.getPlaneDat... | 5,734 |
public char[] getData(int startRow, int startCol, int endRow, int endCol, int plane) { try { int from = getPos(startRow,startCol); int to = getPos(endRow,endCol); if (from > to) { int f = from; to = f; from = f; } return planes.getPlaneDat... | public char[] getData(int startRow, int startCol, int endRow, int endCol, int plane) { try { int from = getPos(startRow,startCol); int to = getPos(endRow,endCol); if (from > to) { int f = from; to = f; from = f; } return planes.getPlaneDat... | 5,735 |
public char[] getData(int startRow, int startCol, int endRow, int endCol, int plane) { try { int from = getPos(startRow,startCol); int to = getPos(endRow,endCol); if (from > to) { int f = from; to = f; from = f; } return planes.getPlaneDat... | public char[] getData(int startRow, int startCol, int endRow, int endCol, int plane) { try { int from = getPos(startRow,startCol); int to = getPos(endRow,endCol); if (from > to) { int f = from; to = f; from = f; int from = getPos(startRow, startCo... | 5,736 |
public final ScreenOIA getOIA() { return oia; } | public final ScreenOIA getOIA() { return oia; } | 5,742 |
protected ScreenPlanes getPlanes() { return planes; } | protected ScreenPlanes getPlanes() { return planes; } | 5,743 |
public char[] getScreenAsAllChars() { char[] sac = new char[lenScreen]; char c; for (int x = 0; x < lenScreen; x++) { c = planes.getChar(x); // only draw printable characters (in this case >= ' ') if ((c >= ' ') && (!planes.isAttributePlace(x))) { sac[x] = c; // TODO: implement the underli... | public char[] getScreenAsAllChars() { char[] sac = new char[lenScreen]; char c; for (int x = 0; x < lenScreen; x++) { c = planes.getChar(x); // only draw printable characters (in this case >= ' ') if ((c >= ' ') && (!planes.isAttributePlace(x))) { sac[x] = c; // TODO: implement the underli... | 5,746 |
public char[] getScreenAsAllChars() { char[] sac = new char[lenScreen]; char c; for (int x = 0; x < lenScreen; x++) { c = planes.getChar(x); // only draw printable characters (in this case >= ' ') if ((c >= ' ') && (!planes.isAttributePlace(x))) { sac[x] = c; // TODO: implement the underli... | public char[] getScreenAsAllChars() { char[] sac = new char[lenScreen]; char c; for (int x = 0; x < lenScreen; x++) { c = planes.getChar(x); // only draw printable characters (in this case >= ' ') if ((c >= ' ') && (!planes.isAttributePlace(x))) { sac[x] = c; //... | 5,747 |
public char[] getScreenAsChars() { char[] sac = new char[lenScreen]; char c; for (int x = 0; x < lenScreen; x++) { c = planes.getChar(x); // only draw printable characters (in this case >= ' ') if ((c >= ' ') && (!planes.isAttributePlace(x))) { sac[x] = c; // TODO: implement the underline ... | public char[] getScreenAsChars() { char[] sac = new char[lenScreen]; char c; for (int x = 0; x < lenScreen; x++) { c = planes.getChar(x); // only draw printable characters (in this case >= ' ') if ((c >= ' ') && (!planes.isAttributePlace(x))) { sac[x] = c; // TODO: implement the underline ... | 5,749 |
public char[] getScreenAsChars() { char[] sac = new char[lenScreen]; char c; for (int x = 0; x < lenScreen; x++) { c = planes.getChar(x); // only draw printable characters (in this case >= ' ') if ((c >= ' ') && (!planes.isAttributePlace(x))) { sac[x] = c; // TODO: implement the underline ... | public char[] getScreenAsChars() { char[] sac = new char[lenScreen]; char c; for (int x = 0; x < lenScreen; x++) { c = planes.getChar(x); // only draw printable characters (in this case >= ' ') if ((c >= ' ') && (!planes.isAttributePlace(x))) { sac[x] = c; // TO... | 5,750 |
public boolean isCursorActive() { return cursorActive; } | public boolean isCursorActive() { } | 5,761 |
public boolean isCursorActive() { return cursorActive; } | public boolean isCursorActive() { return cursorActive; } | 5,762 |
public boolean isCursorShown() { return cursorShown; } | public boolean isCursorShown() { return cursorShown; } | 5,763 |
void jbInit() throws Exception { lastAttr = 32; // default number of rows and columns numRows = 24; numCols = 80; setCursor(1, 1); // set initial cursor position restriction = new Rectangle(0, 0); updateCursorLoc = false; oia = new ScreenOIA(this); oia.setKeyBoardLocked(true); lenScreen = numRows * n... | void jbInit() throws Exception { lastAttr = 32; // default number of rows and columns numRows = 24; numCols = 80; setCursor(1, 1); // set initial cursor position restriction = new Rectangle(0, 0); updateCursorLoc = false; oia = new ScreenOIA(this); oia.setKeyBoardLocked(true); lenScreen = numRows * n... | 5,766 |
void jbInit() throws Exception { lastAttr = 32; // default number of rows and columns numRows = 24; numCols = 80; setCursor(1, 1); // set initial cursor position restriction = new Rectangle(0, 0); updateCursorLoc = false; oia = new ScreenOIA(this); oia.setKeyBoardLocked(true); lenScreen = numRows * n... | void jbInit() throws Exception { lastAttr = 32; // default number of rows and columns numRows = 24; numCols = 80; setCursor(1, 1); // set initial cursor position restriction = new Rectangle(0, 0); updateCursorLoc = false; oia = new ScreenOIA(this); oia.setKeyBoardLocked(true); lenScreen = numRows * n... | 5,767 |
void jbInit() throws Exception { lastAttr = 32; // default number of rows and columns numRows = 24; numCols = 80; setCursor(1, 1); // set initial cursor position restriction = new Rectangle(0, 0); updateCursorLoc = false; oia = new ScreenOIA(this); oia.setKeyBoardLocked(true); lenScreen = numRows * n... | voidjbInit()throwsException{ lastAttr=32; //defaultnumberofrowsandcolumns numRows=24; numCols=80; setCursor(1,1);//setinitialcursorposition restriction=newRectangle(0,0); updateCursorLoc=false;oia=newScreenOIA(this);oia.setKeyBoardLocked(true); lenScreen=numRows*numCols;planes=newScreenPlanes(this,numRows); s... | 5,768 |
public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots ... | public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots ... | 5,769 |
public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots ... | public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots ... | 5,770 |
public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots ... | public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots ... | 5,771 |
public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots ... | public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots ... | 5,772 |
public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots ... | public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots ... | 5,773 |
public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots ... | public boolean moveCursor(MouseEvent e, int pos) { if (!oia.isKeyBoardLocked()) { if (pos < 0) return false; // because getRowColFromPoint returns offset of 1,1 we need to // translate to offset 0,0 // pos -= (numCols + 1); int g = planes.getWhichGUI(pos); // lets check for hot spots ... | 5,774 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.