bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public Object clone () throws CloneNotSupportedException{ XMLAttribute cloneObj = null; cloneObj = (XMLAttribute) super.clone(); // need to deep copy the fields here too cloneObj.attribType = new String(this.attribType); if (attribValue == null) { return cloneObj; } if (att... | public Object clone () throws CloneNotSupportedException{ XMLAttribute cloneObj = null; cloneObj = (XMLAttribute) super.clone(); // need to deep copy the fields here too cloneObj.attribType = new String(this.attribType); if (attribValue == null) { return cloneObj; } if (att... | 3,460 |
public Object clone () throws CloneNotSupportedException{ XMLAttribute cloneObj = null; cloneObj = (XMLAttribute) super.clone(); // need to deep copy the fields here too cloneObj.attribType = new String(this.attribType); if (attribValue == null) { return cloneObj; } if (att... | public Object clone () throws CloneNotSupportedException{ XMLAttribute cloneObj = null; cloneObj = (XMLAttribute) super.clone(); // need to deep copy the fields here too cloneObj.attribType = new String(this.attribType); if (attribValue == null) { cloneObj.attribValue = ((BaseObject)... | 3,461 |
public FileFilter[] getChoosableFileFilters() { return (FileFilter[]) choosableFilters.toArray(new FileFilter[0]); } | public FileFilter[] getChoosableFileFilters() { return (FileFilter[]) choosableFilters.toArray(new FileFilter[choosableFilters.size()]); } | 3,462 |
private void mapIt() { Object[] message = new Object[1]; JPanel kgp = new JPanel(); final KeyGetterInterface kg = getMeAKeyProcessor(); kg.setForeground(Color.blue); message[0] = kgp; String function; if (functions.getSelectedValue() instanceof String) function = (Stri... | private void mapIt() { Object[] message = new Object[1]; JPanel kgp = new JPanel(); final KeyGetterInterface kg = getMeAKeyProcessor(); kg.setForeground(Color.blue); message[0] = kgp; String function; if (functions.getSelectedValue() instanceof String) function = (Stri... | 3,463 |
private void process_XY(int pos) { if (pos < 0) pos = lenScreen + pos ; if (pos > lenScreen - 1) pos = pos - lenScreen; goto_XY(pos); } | private void process_XY(int pos) { if (pos < 0) pos = lenScreen + pos ; if (pos > lenScreen - 1) pos = pos - lenScreen; if (feError) { feError = false; screenFields.getCurrentField().changePos(-1); if (screenFields.getCurrentField() != null && screenFields.getCurrentField().isFER() &&... | 3,466 |
public void paint(Graphics g, JComponent c) { if (! progressBar.isIndeterminate()) paintDeterminate(g, c); else paintIndeterminate(g, c); if (progressBar.isBorderPainted()) progressBar.getBorder().paintBorder(progressBar, g, 0, 0, progressBar.get... | public void paint(Graphics g, JComponent c) { if (! progressBar.isIndeterminate()) paintDeterminate(g, c); else paintIndeterminate(g, c); if (progressBar.isBorderPainted()) progressBar.getBorder().paintBorder(progressBar, g, 0, 0, progressBar.get... | 3,468 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 3,469 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 3,470 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 3,471 |
private void doExport() { if (!pagesValid()) return; Thread cvt = null; if (cvtType.getSelectedIndex() == 0) cvt = new Thread(new Runnable () { public void run() { cvtToPDF(); } }); else cvt = new Thread(new Runnable () { ... | private void doExport() { if (!pagesValid()) return; workingThread = null; if (cvtType.getSelectedIndex() == 0) cvt = new Thread(new Runnable () { public void run() { cvtToPDF(); } }); else cvt = new Thread(new Runnable () { ... | 3,474 |
private void doExport() { if (!pagesValid()) return; Thread cvt = null; if (cvtType.getSelectedIndex() == 0) cvt = new Thread(new Runnable () { public void run() { cvtToPDF(); } }); else cvt = new Thread(new Runnable () { ... | private void doExport() { if (!pagesValid()) return; Thread cvt = null; if (cvtType.getSelectedIndex() == 0) workingThread = new Thread(new Runnable () { public void run() { cvtToPDF(); } }); else workingThread = new Thread(new R... | 3,475 |
private void doExport() { if (!pagesValid()) return; Thread cvt = null; if (cvtType.getSelectedIndex() == 0) cvt = new Thread(new Runnable () { public void run() { cvtToPDF(); } }); else cvt = new Thread(new Runnable () { ... | private void doExport() { if (!pagesValid()) return; Thread cvt = null; if (cvtType.getSelectedIndex() == 0) cvt = new Thread(new Runnable () { public void run() { cvtToPDF(); } }); else cvt = new Thread(new Runnable () { ... | 3,476 |
public TextRenderer getTextRenderer(Font font) { TextRenderer r = (TextRenderer) renderers.get(font); if (r == null) { if (System.getProperty("jnode.font.renderer", "simple").equals("new")) { r = new TTFTextRenderer(renderCache, getFontData(font), font.getSize()); } else { ... | public TextRenderer getTextRenderer(Font font) { TextRenderer r = (TextRenderer) renderers.get(font); if (r == null) { final String renderer = (String)AccessController.doPrivileged(new GetPropertyAction("jnode.font.renderer", "simple")); if (renderer.equals("new")) { r = new TTFTextRenderer... | 3,477 |
public TTFFontDataFile(URL url) throws IOException { this(new TTFURLInput(url)); } | public TTFFontDataFile(URL url) throws IOException { this(new TTFURLInput(url)); } | 3,478 |
UTF_16LE () { super ("UTF-16LE", null); } | UTF_16LE () { super ("UTF-16LE", new String[] { "UTF16LE", "x-utf-16le", "ibm-1202", "ibm-13490", "ibm-17586", "UTF16_LittleEndian", "UnicodeLittleUnmarked" }); } | 3,479 |
public AccessibleContext getAccessibleContext() { return null; } | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJApplet(); return accessibleContext; } | 3,480 |
public BufferedImage createCompatibleImage(int w, int h) { return createCompatibleImage(w, h, Transparency.OPAQUE); } | public BufferedImage createCompatibleImage(int w, int h) { return createCompatibleImage(w, h, Transparency.OPAQUE); } | 3,481 |
public ParameterGroup addParamGroup (ParameterGroup group) { if (group !=null) { //add the group to the groupOwnedHash paramGroupOwnedHash.add(group); return group; } else return null; } | public ParameterGroup addParamGroup (ParameterGroup group) { if (group !=null) { //add the group to the groupOwnedHash paramGroupOwnedHash.add(group); return group; } else { Log.warn("in Structure.addParamGroup(). ParameterGroup passed in is null"); return null; } | 3,484 |
private void init() { classXMLName = "structure"; // order matters! these are in *reverse* order of their // occurence in the XDF DTD attribOrder.add(0,"noteList"); attribOrder.add(0,"arrayList"); attribOrder.add(0,"structList"); attribOrder.add(0,"paramList"); attribOrder.add(0,"description"... | private void init() { classXDFNodeName = "structure"; // order matters! these are in *reverse* order of their // occurence in the XDF DTD attribOrder.add(0,"noteList"); attribOrder.add(0,"arrayList"); attribOrder.add(0,"structList"); attribOrder.add(0,"paramList"); attribOrder.add(0,"descript... | 3,487 |
public Note removeNote (Note note, int i) { return note; } | public Note removeNote (Note note, int i) { return note; } | 3,488 |
public void log(Level level, String message) { log(level, message, (Object[]) null); } | public synchronized void log(LogRecord record) { log(level, message, (Object[]) null); } | 3,490 |
public void log(Level level, String message) { log(level, message, (Object[]) null); } | public void log(Level level, String message) { if (!isLoggable(record.getLevel())) return; if ((filter != null) && !filter.isLoggable(record)) return; if (record.getLoggerName() == null) record.setLoggerName(name); synchronized (LogManager.getLogManager()) { Logger curLogger = this; do { for (int i = 0; i ... | 3,491 |
public String toString() { String prefix = ""; switch (align) { case ALIGN_LEFT: prefix = "left "; break; case ALIGN_RIGHT: prefix = "right "; break; case ALIGN_CENTER: prefix = "center "; break; case ALIGN_DECIMAL: prefix = "decimal ";... | public String toString() { String prefix = ""; switch (align) { case ALIGN_LEFT: prefix = "left "; break; case ALIGN_RIGHT: prefix = "right "; break; case ALIGN_CENTER: prefix = "center "; break; case ALIGN_DECIMAL: prefix = "decimal ";... | 3,493 |
public String toString() { String prefix = ""; switch (align) { case ALIGN_LEFT: prefix = "left "; break; case ALIGN_RIGHT: prefix = "right "; break; case ALIGN_CENTER: prefix = "center "; break; case ALIGN_DECIMAL: prefix = "decimal ";... | public String toString() { String prefix = ""; switch (align) { case ALIGN_LEFT: prefix = "left "; break; case ALIGN_RIGHT: prefix = "right "; break; case ALIGN_CENTER: prefix = "center "; break; case ALIGN_DECIMAL: prefix = "decimal ";... | 3,494 |
public static IdUniquenessPolicyValue from_int(int code) { try { return enume [ code ]; } catch (ArrayIndexOutOfBoundsException ex) { throw new BAD_OPERATION("Invalid enumeration code " + code); } } | public static IdUniquenessPolicyValue from_int(int code) { try { return enume [ code ]; } catch (ArrayIndexOutOfBoundsException ex) { BAD_OPERATION bad = new BAD_OPERATION("Invalid policy code " + code); bad.minor = Minor.PolicyType; throw bad; } } | 3,495 |
protected final void copyMe() { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); if (!gui.rubberband.isAreaSelected()) workR.setBounds(0,0,numCols,numRows); else { // lets get the bounding area using a rectangle that we have alr... | public final void copyMe() { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); if (!gui.rubberband.isAreaSelected()) workR.setBounds(0,0,numCols,numRows); else { // lets get the bounding area using a rectangle that we have alread... | 3,496 |
protected final void copyMe() { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); if (!gui.rubberband.isAreaSelected()) workR.setBounds(0,0,numCols,numRows); else { // lets get the bounding area using a rectangle that we have alr... | protected final void copyMe() { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); if (!gui.rubberband.isAreaSelected()) workR.setBounds(0,0,numCols,numRows); else { // lets get the bounding area using a rectangle that we have alr... | 3,497 |
protected final void copyMe() { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); if (!gui.rubberband.isAreaSelected()) workR.setBounds(0,0,numCols,numRows); else { // lets get the bounding area using a rectangle that we have alr... | protected final void copyMe() { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); if (!gui.rubberband.isAreaSelected()) workR.setBounds(0,0,numCols,numRows); else { // lets get the bounding area using a rectangle that we have alr... | 3,498 |
protected final void copyMe() { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); if (!gui.rubberband.isAreaSelected()) workR.setBounds(0,0,numCols,numRows); else { // lets get the bounding area using a rectangle that we have alr... | protected final void copyMe() { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); if (!gui.rubberband.isAreaSelected()) workR.setBounds(0,0,numCols,numRows); else { // lets get the bounding area using a rectangle that we have alr... | 3,499 |
protected final void copyMe() { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); if (!gui.rubberband.isAreaSelected()) workR.setBounds(0,0,numCols,numRows); else { // lets get the bounding area using a rectangle that we have alr... | protected final void copyMe() { Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); StringBuffer s = new StringBuffer(); if (!gui.rubberband.isAreaSelected()) workR.setBounds(0,0,numCols,numRows); else { // lets get the bounding area using a rectangle that we have alr... | 3,500 |
public void getBoundingArea(Rectangle bounds) { // check to see if there is an area selected. If not then return all // screen area. if (!gui.rubberband.isAreaSelected()) { bounds.setBounds(1,1,getRows(),getCols()); } else { // lets get the bounding area using a rectangle... | public void getBoundingArea(Rectangle bounds) { // check to see if there is an area selected. If not then return all // screen area. if (!gui.rubberband.isAreaSelected()) { bounds.setBounds(1,1,getCols(),getRows()); } else { // lets get the bounding area using a rectangle... | 3,501 |
public void getBoundingArea(Rectangle bounds) { // check to see if there is an area selected. If not then return all // screen area. if (!gui.rubberband.isAreaSelected()) { bounds.setBounds(1,1,getRows(),getCols()); } else { // lets get the bounding area using a rectangle... | public void getBoundingArea(Rectangle bounds) { // check to see if there is an area selected. If not then return all // screen area. if (!gui.rubberband.isAreaSelected()) { bounds.setBounds(1,1,getRows(),getCols()); } else { // lets get the bounding area using a rectangle... | 3,502 |
public void getBoundingArea(Rectangle bounds) { // check to see if there is an area selected. If not then return all // screen area. if (!gui.rubberband.isAreaSelected()) { bounds.setBounds(1,1,getRows(),getCols()); } else { // lets get the bounding area using a rectangle... | public void getBoundingArea(Rectangle bounds) { // check to see if there is an area selected. If not then return all // screen area. if (!gui.rubberband.isAreaSelected()) { bounds.setBounds(1,1,getRows(),getCols()); } else { // lets get the bounding area using a rectangle... | 3,503 |
public void getBoundingArea(Rectangle bounds) { // check to see if there is an area selected. If not then return all // screen area. if (!gui.rubberband.isAreaSelected()) { bounds.setBounds(1,1,getRows(),getCols()); } else { // lets get the bounding area using a rectangle... | public void getBoundingArea(Rectangle bounds) { // check to see if there is an area selected. If not then return all // screen area. if (!gui.rubberband.isAreaSelected()) { bounds.setBounds(1,1,getRows(),getCols()); } else { // lets get the bounding area using a rectangle... | 3,504 |
public void getBoundingArea(Rectangle bounds) { // check to see if there is an area selected. If not then return all // screen area. if (!gui.rubberband.isAreaSelected()) { bounds.setBounds(1,1,getRows(),getCols()); } else { // lets get the bounding area using a rectangle... | public void getBoundingArea(Rectangle bounds) { // check to see if there is an area selected. If not then return all // screen area. if (!gui.rubberband.isAreaSelected()) { bounds.setBounds(1,1,getRows(),getCols()); } else { // lets get the bounding area using a rectangle... | 3,505 |
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; } | 3,506 |
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... | 3,508 |
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;... | 3,509 |
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 = getPosFromView(e.getX(),e.getY());// System.out.println((getRow(pos)) + "," + (getCol(pos)));// System.out.println(e.getX() + "," + e.getY()+ "," + fmWidth+ "," + fmHeight); if (pos == 0) return ; ... | 3,510 |
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... | 3,511 |
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 ... | 3,512 |
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 ... | 3,513 |
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 ... | 3,514 |
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 ... | 3,515 |
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 = getPosFromView(end.x,end.y);// if (pos >= 0 && pos <= lenScreen) { int x = screen[pos].x + fmWidth - 1; int y = screen[pos].y + fmHei... | 3,516 |
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; } | 3,517 |
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); } | 3,518 |
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); { return GetScreen(buffer, bufferLength, 0, lenScreen, plane); } | 3,519 |
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... | 3,520 |
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... | 3,521 |
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); } | 3,522 |
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); listeners = new java.util.Vector(3); } listeners.addElement(li... | 3,523 |
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... | 3,524 |
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... | 3,525 |
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... | 3,526 |
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... | 3,527 |
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); t... | 3,528 |
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... | 3,529 |
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... | 3,530 |
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... | 3,531 |
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... | 3,532 |
public boolean isCursorActive() { return cursorActive; } | public boolean isCursorActive() { } | 3,533 |
public boolean isCursorActive() { return cursorActive; } | public boolean isCursorActive() { return cursorActive; return cursorActive; } | 3,534 |
protected void setDirty(int pos) { int minr = Math.min(getRow(pos),getRow(dirtyScreen.x)); int minc = Math.min(getCol(pos),getCol(dirtyScreen.x)); int maxr = Math.max(getRow(pos),getRow(dirtyScreen.y)); int maxc = Math.max(getCol(pos),getCol(dirtyScreen.y)); int x1 = getPos(minr,minc); int x2 = get... | protected void setDirty(int pos) { int minr = Math.min(getRow(pos),getRow(dirtyScreen.x)); int minc = Math.min(getCol(pos),getCol(dirtyScreen.x)); int maxr = Math.max(getRow(pos),getRow(dirtyScreen.y)); int maxc = Math.max(getCol(pos),getCol(dirtyScreen.y)); int x1 = getPos(minr,minc); int x2 = get... | 3,535 |
protected void setDirty(int pos) { int minr = Math.min(getRow(pos),getRow(dirtyScreen.x)); int minc = Math.min(getCol(pos),getCol(dirtyScreen.x)); int maxr = Math.max(getRow(pos),getRow(dirtyScreen.y)); int maxc = Math.max(getCol(pos),getCol(dirtyScreen.y)); int x1 = getPos(minr,minc); int x2 = get... | protected void setDirty(int pos) { int minr = Math.min(getRow(pos),getRow(dirtyScreen.x)); int minc = Math.min(getCol(pos),getCol(dirtyScreen.x)); int maxr = Math.max(getRow(pos),getRow(dirtyScreen.y)); int maxc = Math.max(getCol(pos),getCol(dirtyScreen.y)); int x1 = getPos(minr,minc); int x2 = get... | 3,536 |
protected void setDirty(int pos) { int minr = Math.min(getRow(pos),getRow(dirtyScreen.x)); int minc = Math.min(getCol(pos),getCol(dirtyScreen.x)); int maxr = Math.max(getRow(pos),getRow(dirtyScreen.y)); int maxc = Math.max(getCol(pos),getCol(dirtyScreen.y)); int x1 = getPos(minr,minc); int x2 = get... | protected void setDirty(int pos) { int minr = Math.min(getRow(pos),getRow(dirtyScreen.x)); int minc = Math.min(getCol(pos),getCol(dirtyScreen.x)); int maxr = Math.max(getRow(pos),getRow(dirtyScreen.y)); int maxc = Math.max(getCol(pos),getCol(dirtyScreen.y)); int x1 = getPos(minr,minc); int x2 = get... | 3,537 |
protected void setDirty(int pos) { int minr = Math.min(getRow(pos),getRow(dirtyScreen.x)); int minc = Math.min(getCol(pos),getCol(dirtyScreen.x)); int maxr = Math.max(getRow(pos),getRow(dirtyScreen.y)); int maxc = Math.max(getCol(pos),getCol(dirtyScreen.y)); int x1 = getPos(minr,minc); int x2 = get... | protected void setDirty(int pos) { int minr = Math.min(getRow(pos),getRow(dirtyScreen.x)); int minc = Math.min(getCol(pos),getCol(dirtyScreen.x)); int maxr = Math.max(getRow(pos),getRow(dirtyScreen.y)); int maxc = Math.max(getCol(pos),getCol(dirtyScreen.y)); int x1 = getPos(minr,minc); int x2 = get... | 3,538 |
protected void setPrehelpState(boolean setErrorCode, boolean lockKeyboard, boolean unlockIfLocked) { statusErrorCode = setErrorCode; if (oia.isKeyBoardLocked() && unlockIfLocked) oia.setKeyBoardLocked(false); else oia.setKeyBoardLocked(lockKeyboard); bufferedKeys = null; oia.setKeysBuffered(false); } | protected void setPrehelpState(boolean setErrorCode, boolean lockKeyboard, boolean unlockIfLocked) { statusErrorCode = setErrorCode; if (oia.isKeyBoardLocked() && unlockIfLocked) oia.setKeyBoardLocked(false); else oia.setKeyBoardLocked(lockKeyboard); bufferedKeys = null; } | 3,539 |
protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam... | protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam... | 3,541 |
protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam... | protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam... | 3,542 |
protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam... | protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam... | 3,543 |
protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam... | protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam... | 3,544 |
protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam... | protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam... | 3,545 |
protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam... | protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam... | 3,546 |
protected boolean simulateMnemonic(int mnem) { boolean simulated = false; switch (mnem) { case AID_CLEAR: case AID_ENTER: case AID_PF1: case AID_PF2: case AID_PF3: case AID_PF4: case AID_PF5: case AID_PF6: case AID_PF7: case AID_PF8: case AID_PF9: case AID_PF10: case AID_PF11: case AID_PF12: case AID_... | protected boolean simulateMnemonic(int mnem) { boolean simulated = false; switch (mnem) { case AID_CLEAR: case AID_ENTER: case AID_PF1: case AID_PF2: case AID_PF3: case AID_PF4: case AID_PF5: case AID_PF6: case AID_PF7: case AID_PF8: case AID_PF9: case AID_PF10: case AID_PF11: case AID_PF12: case AID_... | 3,547 |
protected boolean simulateMnemonic(int mnem) { boolean simulated = false; switch (mnem) { case AID_CLEAR: case AID_ENTER: case AID_PF1: case AID_PF2: case AID_PF3: case AID_PF4: case AID_PF5: case AID_PF6: case AID_PF7: case AID_PF8: case AID_PF9: case AID_PF10: case AID_PF11: case AID_PF12: case AID_... | protected boolean simulateMnemonic(int mnem) { boolean simulated = false; switch (mnem) { case AID_CLEAR: case AID_ENTER: case AID_PF1: case AID_PF2: case AID_PF3: case AID_PF4: case AID_PF5: case AID_PF6: case AID_PF7: case AID_PF8: case AID_PF9: case AID_PF10: case AID_PF11: case AID_PF12: case AID_... | 3,548 |
protected boolean simulateMnemonic(int mnem) { boolean simulated = false; switch (mnem) { case AID_CLEAR: case AID_ENTER: case AID_PF1: case AID_PF2: case AID_PF3: case AID_PF4: case AID_PF5: case AID_PF6: case AID_PF7: case AID_PF8: case AID_PF9: case AID_PF10: case AID_PF11: case AID_PF12: case AID_... | protected boolean simulateMnemonic(int mnem) { boolean simulated = false; switch (mnem) { case AID_CLEAR: case AID_ENTER: case AID_PF1: case AID_PF2: case AID_PF3: case AID_PF4: case AID_PF5: case AID_PF6: case AID_PF7: case AID_PF8: case AID_PF9: case AID_PF10: case AID_PF11: case AID_PF12: case AID_... | 3,549 |
public synchronized int GetScreen(char buffer[], int bufferLength, int from, int length, int plane) {// if(buffer == null)// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen.class.getName()... | public synchronized int GetScreen(char buffer[], int bufferLength, int from, int length, int plane) {// if(buffer == null)// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen.class.getName()... | 3,550 |
public synchronized int GetScreen(char buffer[], int bufferLength, int from, int length, int plane) {// if(buffer == null)// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen.class.getName()... | public synchronized int GetScreen(char buffer[], int bufferLength, int from, int length, int plane) {// if(buffer == null)// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen.class.getName()... | 3,551 |
public synchronized int GetScreen(char buffer[], int bufferLength, int from, int length, int plane) {// if(buffer == null)// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen.class.getName()... | public synchronized int GetScreen(char buffer[], int bufferLength, int from, int length, int plane) {// if(buffer == null)// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen.class.getName()... | 3,552 |
protected void setScreenAttr(int pos, int attr) { screenAttr[pos] = (char)attr; screenGUI[pos] = initChar; disperseAttribute(pos,attr); } | protected void setScreenAttr(int pos, int attr, boolean isAttr) { screenAttr[pos] = (char)attr; screenGUI[pos] = initChar; disperseAttribute(pos,attr); } | 3,553 |
protected void setScreenAttr(int pos, int attr) { screenAttr[pos] = (char)attr; screenGUI[pos] = initChar; disperseAttribute(pos,attr); } | protected void setScreenAttr(int pos, int attr) { screenAttr[pos] = (char)attr; screenGUI[pos] = initChar; } | 3,554 |
protected void initalizePlanes () { for (int y = 0;y < screenSize; y++) { setScreenCharAndAttr(y,initChar,initAttr,false); screenGUI[y] = NO_GUI; screenIsChanged[y] = false; } // here we will just copy a plane that has already been initialized // onto the other pla... | protected void initalizePlanes () { for (int y = 0;y < screenSize; y++) { setScreenCharAndAttr(y,initChar,initAttr,false); screenGUI[y] = NO_GUI; screenIsChanged[y] = false; } // here we will just copy a plane that has already been initialized // onto the other pla... | 3,555 |
protected boolean isInField(int pos, boolean chgToField) { ScreenField sf; for (int x = 0;x < sizeFields; x++) { sf = screenFields[x]; if (sf.withinField(pos)) { if (chgToField) { if (!currentField.equals(sf)) currentModified = false; ... | protected boolean isInField(int pos, boolean chgToField) { ScreenField sf; for (int x = 0;x < sizeFields; x++) { sf = screenFields[x]; if (sf.withinField(pos)) { if (chgToField) { if (!currentField.equals(sf)) currentModified = false; ... | 3,556 |
public static Policy extract(Any any) { try { PolicyHolder h = (PolicyHolder) any.extract_Streamable(); return h.value; } catch (ClassCastException ex) { throw new BAD_OPERATION("Policy expected"); } } | public static Policy extract(Any any) { try { PolicyHolder h = (PolicyHolder) any.extract_Streamable(); return h.value; } catch (ClassCastException ex) { BAD_OPERATION bad = new BAD_OPERATION("Policy expected"); bad.minor = Minor.Any; throw bad; } } | 3,558 |
public void itemStateChanged(ItemEvent e) { intConsole_itemStateChanged(e); } | public void itemStateChanged(ItemEvent e) { intDEBUG_itemStateChanged(e); } | 3,560 |
public void setExceptionListener(ExceptionListener listener) { // uses a default implementation when null if (listener == null) { listener = new DefaultExceptionListener(); } exceptionListener = listener; } | public void setExceptionListener(ExceptionListener listener) { // uses a default implementation when null if (listener == null) { listener = DefaultExceptionListener.INSTANCE; } exceptionListener = listener; } | 3,563 |
public static ResourceBundle getBundle(String baseName) { ClassLoader cl = security.getCallingClassLoader(); if (cl == null) cl = ClassLoader.getSystemClassLoader(); return getBundle(baseName, Locale.getDefault(), cl); } | public static ResourceBundle getBundle(String baseName) { ClassLoader cl = VMStackWalker.getCallingClassLoader(); if (cl == null) cl = ClassLoader.getSystemClassLoader(); return getBundle(baseName, Locale.getDefault(), cl); } | 3,564 |
static ClassLoader currentClassLoader (SecurityManager sm) { // TODO implement me return null; } | static ClassLoader currentClassLoader() { // TODO implement me return null; } | 3,565 |
protected void installDefaults(JTree tree) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background")); tree.setOpaque(true); rightChildIndent = defaults... | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background")); tree.setOpaque(true); rightChildIndent = defaults.getInt("T... | 3,566 |
protected void uninstallDefaults(JTree tree) { tree.setFont(null); tree.setForeground(null); tree.setBackground(null); } | protected void uninstallDefaults() { tree.setFont(null); tree.setForeground(null); tree.setBackground(null); } | 3,567 |
public void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) { super.changedUpdate(e, a, f); setPropertiesFromAttributes(); } | public void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) { super.changedUpdate(e, a, f); StyleSheet ss = getStyleSheet(); attributes = ss.getViewAttributes(this); preferenceChanged(null, true, true); } | 3,568 |
public AttributeSet getAttributes() { // FIXME: Implement this. return super.getAttributes(); } | public AttributeSet getAttributes() { // FIXME: Implement this. if (attributes == null) { StyleSheet ss = getStyleSheet(); attributes = ss.getViewAttributes(this); } return attributes; } | 3,569 |
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map vmFiles = scanJavaFiles(vmDirs); final Map classpathFiles = scanJavaFiles(classpathDirs); final TreeSet allFiles = new TreeSet(); final Map p... | public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map vmFiles = scanJavaFiles(vmDirs); final Map classpathFiles = scanJavaFiles(classpathDirs); final TreeSet allFiles = new TreeSet(); final Map p... | 3,571 |
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color saved = g.getColor(); g.setColor(highlight); g.drawLine(x + 1, y + 1, x + w - 1, y + 1); g.drawLine(x + 1, y + 1, x + 1, y + h - 1); g.setColor(shadow); g.drawLine(x + 1, y + h - 1, ... | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color saved = g.getColor(); g.setColor(highlight); g.drawLine(x + 1, y + 1, x + w - 1, y + 1); g.drawLine(x + 1, y + 1, x + 1, y + h - 1); g.setColor(shadow); g.drawLine(x + 1, y + h - 1, ... | 3,572 |
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color saved = g.getColor(); g.setColor(highlight); g.drawLine(x + 1, y + 1, x + w - 1, y + 1); g.drawLine(x + 1, y + 1, x + 1, y + h - 1); g.setColor(shadow); g.drawLine(x + 1, y + h - 1, ... | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color saved = g.getColor(); g.setColor(highlight); g.drawLine(x + 1, y + 1, x + w - 1, y + 1); g.drawLine(x + 1, y + 1, x + 1, y + h - 1); g.setColor(shadow); g.drawLine(x + 1, y + h - 1, ... | 3,573 |
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color saved = g.getColor(); g.setColor(highlight); g.drawLine(x + 1, y + 1, x + w - 1, y + 1); g.drawLine(x + 1, y + 1, x + 1, y + h - 1); g.setColor(shadow); g.drawLine(x + 1, y + h - 1, ... | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color saved = g.getColor(); g.setColor(highlight); g.drawLine(x + 1, y + 1, x + w - 1, y + 1); g.drawLine(x + 1, y + 1, x + 1, y + h - 1); g.setColor(shadow); g.drawLine(x + 1, y + h - 1, ... | 3,574 |
protected int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { // FIXME: Throw BadLocationException somehow. // Update font metrics. updateMetrics(); // Get echo character. char ch = getEchoChar(); // Set color for selected text. g.setColor(sele... | protected int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { // FIXME: Throw BadLocationException somehow. // Update font metrics. updateMetrics(); // Get echo character. char ch = getEchoChar(); // Set color for selected text. g.setColor(sele... | 3,576 |
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { // FIXME: Throw BadLocationException somehow. // Update font metrics. updateMetrics(); // Get echo character. char ch = getEchoChar(); Segment segment = new Segment(); // Set color... | protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { // FIXME: Throw BadLocationException somehow. // Update font metrics. updateMetrics(); // Get echo character. char ch = getEchoChar(); // Set color for unselected text. g.setCo... | 3,577 |
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { // FIXME: Throw BadLocationException somehow. // Update font metrics. updateMetrics(); // Get echo character. char ch = getEchoChar(); Segment segment = new Segment(); // Set color... | protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { // FIXME: Throw BadLocationException somehow. // Update font metrics. updateMetrics(); // Get echo character. char ch = getEchoChar(); Segment segment = new Segment(); // Set color... | 3,578 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.