rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
} | } | public TreePath getOldLeadSelectionPath() { return oldLeadSelectionPath; } // getOldLeadSelectionPath() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/TreeSelectionEvent.java/buggy/core/src/classpath/javax/javax/swing/event/TreeSelectionEvent.java |
} | } | public TreePath getNewLeadSelectionPath() { return newLeadSelectionPath; } // getNewLeadSelectionPath() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/TreeSelectionEvent.java/buggy/core/src/classpath/javax/javax/swing/event/TreeSelectionEvent.java |
public VariableHeightLayoutCache() { | public VariableHeightLayoutCache() { | public VariableHeightLayoutCache() { // TODO } // VariableHeightLayoutCache() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/VariableHeightLayoutCache.java/buggy/core/src/classpath/javax/javax/swing/tree/VariableHeightLayoutCache.java |
} | } | public VariableHeightLayoutCache() { // TODO } // VariableHeightLayoutCache() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/VariableHeightLayoutCache.java/buggy/core/src/classpath/javax/javax/swing/tree/VariableHeightLayoutCache.java |
public int getRowHeight() { return rowHeight; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/buggy/core/src/classpath/javax/javax/swing/JTree.java | ||
{ | { | public boolean isPathEditable(TreePath path) { return isEditable(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/buggy/core/src/classpath/javax/javax/swing/JTree.java |
public Enumeration getExpandedDescendants(TreePath path) | public Enumeration getExpandedDescendants(TreePath path) | public Enumeration getExpandedDescendants(TreePath path) { Enumeration paths = nodeStates.keys(); Vector relevantPaths = new Vector(); while (paths.hasMoreElements()) { TreePath nextPath = (TreePath) paths.nextElement(); if (nodeStates.get(nextPath) == EXPANDED && path.isDescendant(nextPath... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/buggy/core/src/classpath/javax/javax/swing/JTree.java |
while (paths.hasMoreElements()) | while (paths.hasMoreElements()) | public Enumeration getExpandedDescendants(TreePath path) { Enumeration paths = nodeStates.keys(); Vector relevantPaths = new Vector(); while (paths.hasMoreElements()) { TreePath nextPath = (TreePath) paths.nextElement(); if (nodeStates.get(nextPath) == EXPANDED && path.isDescendant(nextPath... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/buggy/core/src/classpath/javax/javax/swing/JTree.java |
if (nodeStates.get(nextPath) == EXPANDED && path.isDescendant(nextPath)) | if (nodeStates.get(nextPath) == EXPANDED && path.isDescendant(nextPath)) | public Enumeration getExpandedDescendants(TreePath path) { Enumeration paths = nodeStates.keys(); Vector relevantPaths = new Vector(); while (paths.hasMoreElements()) { TreePath nextPath = (TreePath) paths.nextElement(); if (nodeStates.get(nextPath) == EXPANDED && path.isDescendant(nextPath... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/buggy/core/src/classpath/javax/javax/swing/JTree.java |
axisList.remove(0); | axisList.remove(0); | public FieldAxis addFieldAxis(FieldAxis fieldAxis) { if (!canAddFieldAxisObjToArray(fieldAxis)) return null; if (getFieldAxis() !=null) { List axisList = getAxisList(); axisList.remove(0); // axisList.add(0, fieldAxis); //replace the old fieldAxis with the new one } else { //add fie... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/f8adc126d8625bc5e75e443b609362a258897c41/Array.java/clean/src/gov/nasa/gsfc/adc/xdf/Array.java |
getDataCube().incrementDimension(fieldAxis); | public FieldAxis addFieldAxis(FieldAxis fieldAxis) { if (!canAddFieldAxisObjToArray(fieldAxis)) return null; if (getFieldAxis() !=null) { List axisList = getAxisList(); axisList.remove(0); // axisList.add(0, fieldAxis); //replace the old fieldAxis with the new one } else { //add fie... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/f8adc126d8625bc5e75e443b609362a258897c41/Array.java/clean/src/gov/nasa/gsfc/adc/xdf/Array.java | |
return getFieldAxis(); | hasFieldAxis = true; return fieldAxis; | public FieldAxis addFieldAxis(FieldAxis fieldAxis) { if (!canAddFieldAxisObjToArray(fieldAxis)) return null; if (getFieldAxis() !=null) { List axisList = getAxisList(); axisList.remove(0); // axisList.add(0, fieldAxis); //replace the old fieldAxis with the new one } else { //add fie... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/f8adc126d8625bc5e75e443b609362a258897c41/Array.java/clean/src/gov/nasa/gsfc/adc/xdf/Array.java |
Log.warn("in Structure.addParamGroup(). ParameterGroup passed in is null"); | Log.warn("in Array.addParamGroup(). ParameterGroup passed in is 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; } } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/f8adc126d8625bc5e75e443b609362a258897c41/Array.java/clean/src/gov/nasa/gsfc/adc/xdf/Array.java |
Log.warn("in Structure.removeParamGroup(). ParameterGroup passed in is null"); | Log.warn("in Array.removeParamGroup(). ParameterGroup passed in is null"); | public boolean removeParamGroup(ParameterGroup group) { if (group == null) { Log.warn("in Structure.removeParamGroup(). ParameterGroup passed in is null"); return false; } return paramGroupOwnedHash.remove(group); } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/f8adc126d8625bc5e75e443b609362a258897c41/Array.java/clean/src/gov/nasa/gsfc/adc/xdf/Array.java |
if (! frame.isSelected()) | if (!frame.isSelected()) | public void deiconifyFrame(JInternalFrame frame) { JDesktopIcon icon = frame.getDesktopIcon(); Container c = icon.getParent(); removeIconFor(frame); c.add(frame); frame.setVisible(true); if (! frame.isSelected()) { JDesktopPane p = frame.getDesktopPane(); if (p != null) p.setSelectedFrame(fr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/DefaultDesktopManager.java/buggy/core/src/classpath/javax/javax/swing/DefaultDesktopManager.java |
if (! wasIcon(frame)) | if (!wasIcon(frame)) | public void iconifyFrame(JInternalFrame frame) { JDesktopPane p = frame.getDesktopPane(); JDesktopIcon icon = frame.getDesktopIcon(); if (p != null && p.getSelectedFrame() == frame) p.setSelectedFrame(null); else { try { frame.setSelected(false); } catch (PropertyVetoException e) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/DefaultDesktopManager.java/buggy/core/src/classpath/javax/javax/swing/DefaultDesktopManager.java |
snp); addLabelComponent(" ", noEmbed, snp); addLabelComponent(" ", deamon, snp); addLabelComponent(" ", newJVM, | public static void doEntry(Frame parent, String propKey, Properties props) { confTabs = new JTabbedPane(); ec = new JCheckBox(LangTool.getString("conf.labelEnhanced")); tc = new JCheckBox(LangTool.getString("conf.labelUseSystemName")); useProxy = new JCheckBox(LangTool.getString("conf.labelUsePro... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/Configure.java/buggy/tn5250j/src/org/tn5250j/Configure.java | |
if (noEmbed.isSelected()) sb.append(" -noembed "); if (deamon.isSelected()) sb.append(" -d "); if (newJVM.isSelected()) sb.append(" -nc "); | private static String toArgString() { StringBuffer sb = new StringBuffer(); sb.append(systemId.getText()); // port if (port.getText() != null) if (port.getText().trim().length() > 0) sb.append(" -p " + port.getText().trim()); if (fpn.getText() != null) if (fpn.getTe... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/Configure.java/buggy/tn5250j/src/org/tn5250j/Configure.java | |
dialog.setLocationRelativeTo(parentComponent); | public static int showConfirmDialog(Component parentComponent, Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); JDialog dialog = pane.createDialog(parentComponent, "Select an Option"); dialog.pack(); dialog.show(); if (pane.getValue() instanceof Integer) return... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java | |
dialog.setLocationRelativeTo(parentComponent); | public static String showInputDialog(Component parentComponent, Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); pane.setWantsInput(true); JDialog dialog = pane.createDialog(parentComponent, null); dialog.pack(); dialog.show(); r... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java | |
dialog.setLocationRelativeTo(parentComponent); | public static void showMessageDialog(Component parentComponent, Object message) { JOptionPane pane = new JOptionPane(message, INFORMATION_MESSAGE); JDialog dialog = pane.createDialog(parentComponent, null); dialog.pack(); dialog.show(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java | |
dialog.setLocationRelativeTo(parentComponent); | public static int showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java | |
return errorLineNum; | return planes.getErrorLine(); | public int getErrorLine() { return errorLineNum; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java |
errorLineNum = numRows; | void jbInit() throws Exception { // damn I hate putting this in but it is the only way to get // it to work correctly. What a pain in the ass. if (OperatingSystem.isMacOS() && OperatingSystem.hasJava14()) fullRepaint = true; // change by Luc - LDC If the font from the properties file does not // exist // s... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java | |
public void restoreErrorLine() { | protected void restoreErrorLine() { | public void restoreErrorLine() { if (planes.isErrorLineSaved()) { planes.restoreErrorLine(); int y = fmHeight * planes.getErrorLine(); updateImage(0, y, bi.getWidth(), fmHeight); } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java |
int y = fmHeight * planes.getErrorLine(); | int y = fmHeight * (planes.getErrorLine()-1); | public void restoreErrorLine() { if (planes.isErrorLineSaved()) { planes.restoreErrorLine(); int y = fmHeight * planes.getErrorLine(); updateImage(0, y, bi.getWidth(), fmHeight); } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java |
public void saveErrorLine() { | protected void saveErrorLine() { | public void saveErrorLine() {// // if there is already an error line saved then do not save it again// // This signifies that there was a previous error and the original error// // line was not restored yet.// if (errorLine == null) {// errorLine = new ScreenChar[numCols];// int r = getPos(errorLineNum - 1, ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java |
if (line == 0 || line > numRows) errorLineNum = numRows; else errorLineNum = line; | planes.setErrorLine(line); | public void setErrorLine(int line) { if (line == 0 || line > numRows) errorLineNum = numRows; else errorLineNum = line; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java |
errorLineNum = numRows; | public final void setRowsCols(int rows, int cols) { // default number of rows and columns numRows = rows; numCols = cols; lenScreen = numRows * numCols;// screen = new ScreenChar[lenScreen];//// for (int y = 0; y < lenScreen; y++) {// screen[y] = new ScreenChar(this);// screen[y].setCharAndAttr(' ', initAttr... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java | |
protected synchronized void updateImage(int x, int y, int width, int height) { | protected void updateImage(int x, int y, int width, int height) { | protected synchronized void updateImage(int x, int y, int width, int height) { if (gg2d == null) { //System.out.println("was null"); gg2d = (Graphics2D) gui.getGraphics(); } // check for selected area and erase it before updating screen if (gui.rubberband != null && gui.rubberband.isAreaSelected()) { gui.rub... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java |
public synchronized int GetScreen(char buffer[], int bufferLength, int from, int length, int plane) { if(buffer == null) return 0; | public synchronized int GetScreen(char buffer[], int bufferLength, int plane) { return GetScreen(buffer,bufferLength,0,screenSize,plane); | public synchronized int GetScreen(char buffer[], int bufferLength, int from, int length, int plane)// throws OhioException { {// if(buffer == null)// throw new OhioException(sessionVT.getSessionConfi... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java |
int min = Math.min(Math.min(buffer.length, bufferLength), screenSize); if ((from + min) > screenSize) { min = screenSize - from; } char[] pd = getPlaneData(from,from + min,plane); if(pd != null) { System.arraycopy(pd, 0, buffer, 0, min); return pd.length; } return 0; | public synchronized int GetScreen(char buffer[], int bufferLength, int from, int length, int plane)// throws OhioException { {// if(buffer == null)// throw new OhioException(sessionVT.getSessionConfi... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java | |
screenAttr[pos] = attr; | screenAttr[pos] = (char)attr; | protected void setScreenCharAndAttr(int pos, char c, int attr, boolean isAttr) { screen[pos] = c; screenAttr[pos] = attr; disperseAttribute(pos,attr); screenIsAttr[pos] = isAttr; screenGUI[pos] = initChar; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java |
screenIsAttr[pos] = isAttr; | screenIsAttr[pos] = (isAttr ? '1' : '0'); | protected void setScreenCharAndAttr(int pos, char c, int attr, boolean isAttr) { screen[pos] = c; screenAttr[pos] = attr; disperseAttribute(pos,attr); screenIsAttr[pos] = isAttr; screenGUI[pos] = initChar; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java |
protected void setScreenAttr(int pos, int attr) { | protected void setScreenAttr(int pos, int attr, boolean isAttr) { | protected void setScreenAttr(int pos, int attr) { screenAttr[pos] = attr; screenGUI[pos] = initChar; disperseAttribute(pos,attr); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java |
screenAttr[pos] = attr; | screenAttr[pos] = (char)attr; screenIsAttr[pos] = isAttr ? '1' : '0'; disperseAttribute(pos,attr); | protected void setScreenAttr(int pos, int attr) { screenAttr[pos] = attr; screenGUI[pos] = initChar; disperseAttribute(pos,attr); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java |
disperseAttribute(pos,attr); | protected void setScreenAttr(int pos, int attr) { screenAttr[pos] = attr; screenGUI[pos] = initChar; disperseAttribute(pos,attr); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java | |
if (screenIsAttr[pos]) | if (screenIsAttr[pos] == '1') | protected final void setChar(int pos, char c) { screenIsChanged[pos] = screen[pos] == c ? false : true; // if (isChanged) // System.out.println(sChar[0] + " - " + c); screen[pos] = c; if (screenIsAttr[pos]) setScreenCharAndAttr(pos,c,32,false); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java |
return errorLine == null ? true : false; | return errorLine == null ? false : true; | protected boolean isErrorLineSaved() { return errorLine == null ? true : false; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java |
this.setScreenCharAndAttr(r+x,errorLine[x],errorLineAttr[x],errorLineIsAttr[x]); | setScreenCharAndAttr(r+x,errorLine[x],errorLineAttr[x], (errorLineIsAttr[x] == '1' ? true : false)); | protected void restoreErrorLine() { if (errorLine != null) { int r = scr.getPos(errorLineNum - 1, 0); for (int x = 0; x < numCols - 1; x++) {// screen[r + x].setCharAndAttr(errorLine[x].getChar(),// errorLine[x].getCharAttr(), false); this.setScreenCharAndAttr(r+x,errorLine[x],errorLineAttr[x],... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java |
errorLineAttr = new int[numCols]; errorLineIsAttr = new boolean[numCols]; | errorLineAttr = new char[numCols]; errorLineIsAttr = new char[numCols]; | protected void saveErrorLine() { // if there is already an error line saved then do not save it again // This signifies that there was a previous error and the original error // line was not restored yet. if (errorLine == null) { errorLine = new char[numCols]; errorLineAttr = ne... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java |
screenAttr = new int[screenSize]; screenIsAttr = new boolean[screenSize]; | screenAttr = new char[screenSize]; screenIsAttr = new char[screenSize]; | protected void setSize(int newSize) { int oldRows = numRows; screenSize = newSize; numCols = 80; switch (newSize) { case 24: numRows = 24; break; case 27: numRows = 27; numCols = 132; break; } // this is used here when ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java |
bus.processQueues(); | bus.flush(); | protected synchronized void startDevice() throws DriverException { // Claim the irq irq = bus.claimResources(getDevice(), KB_IRQ); try { // Set the mode setEnabled(true); } catch (DeviceException ex) { throw new DriverException("Cannot enable keyboard", ex); } // Start the rest super.startDevice(); // Ma... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0256958683f8a0221aee7dd41454c146be106f0/PS2KeyboardDriver.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2KeyboardDriver.java |
orb = (ORB) Class.forName(orbClassName).newInstance(); | orb = (ORB) ObjectCreator.forName(orbClassName).newInstance(); | private static ORB createORB(Properties props, String orbClassName) { ORB orb = null; if (orbClassName == null) { orbClassName = getORBName(props, FUNCTIONAL_ORB); if (orbClassName == null) orbClassName = DEFAULT_FUNCTIONAL_ORB; } try { orb = (ORB) Class.forName(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/ORB.java/buggy/core/src/classpath/org/org/omg/CORBA/ORB.java |
private Component findOverlapFreeParent(Rectangle clip) { Rectangle currentClip = clip; Component found = this; Container parent = this; while (parent != null && !(parent instanceof Window)) { Container newParent = parent.getParent(); if (newParent == null || newParent instanceof Wind... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java | ||
private Component findOverlapFreeParent(Rectangle clip) { Rectangle currentClip = clip; Component found = this; Container parent = this; while (parent != null && !(parent instanceof Window)) { Container newParent = parent.getParent(); if (newParent == null || newParent instanceof Wind... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java | ||
Rectangle clip = g2.getClipBounds(); if (clip == null || (clip.x == 0 && clip.y == 0 && clip.width == getWidth() && clip.height == getHeight())) RepaintManager.currentManager(this).markCompletelyClean(this); | public void paint(Graphics g) { RepaintManager rm = RepaintManager.currentManager(this); // We do a little stunt act here to switch on double buffering if it's // not already on. If we are not already doublebuffered, then we jump // into the method paintDoubleBuffered, which turns on the double buffer ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java | |
if (event.getType() == TableModelEvent.INSERT || event.getType() == TableModelEvent.DELETE) | if (event.getType() == TableModelEvent.INSERT) | public void tableChanged (TableModelEvent event) { // update the column model from the table model if the structure has // changed and the flag autoCreateColumnsFromModel is set if ((event.getFirstRow() ==TableModelEvent.HEADER_ROW) && autoCreateColumnsFromModel) createDefaultColumnsFromModel(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java |
else if (event.getType() == TableModelEvent.DELETE) { if (dataModel.getRowCount() == 0) clearSelection(); revalidate(); } | public void tableChanged (TableModelEvent event) { // update the column model from the table model if the structure has // changed and the flag autoCreateColumnsFromModel is set if ((event.getFirstRow() ==TableModelEvent.HEADER_ROW) && autoCreateColumnsFromModel) createDefaultColumnsFromModel(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java | |
if ((isLinux) && !((Character.isLetter(kc)) && (e.getModifiers() == 0 | if (isLinux) { if (!((Character.isLetter(kc)) && (e.getModifiers() == 0 | private void processVTKeyTyped(KeyEvent e){ char kc = e.getKeyChar();// displayInfo(e,"Typed processed " + keyProcessed); // Hack to make german umlauts work under Linux // The problem is that these umlauts don't generate a keyPressed event // and so keyProcessed is true (even if is hasn't b... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e508a5ee1c6b82728acfd20dfe6ec7fbb2207dbf/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
private void processVTKeyTyped(KeyEvent e){ char kc = e.getKeyChar();// displayInfo(e,"Typed processed " + keyProcessed); // Hack to make german umlauts work under Linux // The problem is that these umlauts don't generate a keyPressed event // and so keyProcessed is true (even if is hasn't b... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e508a5ee1c6b82728acfd20dfe6ec7fbb2207dbf/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java | ||
XMLAttribute cloneObj = null; cloneObj = (XMLAttribute) super.clone(); | XMLAttribute cloneObj = (XMLAttribute) super.clone(); | 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... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/bd6135a4290d810c774315df2987d73c7cf5437d/XMLAttribute.java/clean/src/gov/nasa/gsfc/adc/xdf/XMLAttribute.java |
cloneObj.attribType = new String(this.attribType); | 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... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/bd6135a4290d810c774315df2987d73c7cf5437d/XMLAttribute.java/clean/src/gov/nasa/gsfc/adc/xdf/XMLAttribute.java | |
if (obj instanceof Axis) { ((List)cloneObj.attribValue).add(((Axis) obj).clone()); } else { if (obj instanceof Field) { ((List)cloneObj.attribValue).add(((Field) obj).clone()); } else { if (obj instanceof FieldAxis) { ((List)cloneObj.attribValue).add(((FieldAxis) obj).clone()); } else { if (obj instanceof Note) { ((Lis... | ((List)cloneObj.attribValue).add(((BaseObject) obj).clone()); | 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... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/bd6135a4290d810c774315df2987d73c7cf5437d/XMLAttribute.java/clean/src/gov/nasa/gsfc/adc/xdf/XMLAttribute.java |
return cloneObj; | cloneObj.attribValue = ((BaseObject) this.attribValue).clone(); return cloneObj; | 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... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/bd6135a4290d810c774315df2987d73c7cf5437d/XMLAttribute.java/clean/src/gov/nasa/gsfc/adc/xdf/XMLAttribute.java |
{ | { | public void addActionListener(ActionListener l) { listenerList.add(ActionListener.class, l); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java |
} | } | public void addActionListener(ActionListener l) { listenerList.add(ActionListener.class, l); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java |
setCurrentDirectory(fsv.getParentDirectory(currentDir)); | setCurrentDirectory(fsv.getParentDirectory(currentDir)); | public void changeToParentDirectory() { if (fsv.getParentDirectory(currentDir) != null) setCurrentDirectory(fsv.getParentDirectory(currentDir)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java |
{ | { | public ActionListener[] getActionListeners() { return (ActionListener[]) getListeners(ActionListener.class); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java |
} | } | public ActionListener[] getActionListeners() { return (ActionListener[]) getListeners(ActionListener.class); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java |
return (FileFilter[]) choosableFilters.toArray(new FileFilter[0]); | return (FileFilter[]) choosableFilters.toArray(new FileFilter[choosableFilters.size()]); | public FileFilter[] getChoosableFileFilters() { return (FileFilter[]) choosableFilters.toArray(new FileFilter[0]); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java |
return selectedFiles; | return selectedFiles; | public File[] getSelectedFiles() { if (selectedFiles != null) return selectedFiles; if (selectedFile != null) return new File[] { selectedFile }; return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java |
return (FileChooserUI) ui; | return (FileChooserUI) ui; | public FileChooserUI getUI() { return (FileChooserUI) ui; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java |
{ | { | public void removeActionListener(ActionListener l) { try { listenerList.remove(ActionListener.class, l); } catch (IllegalArgumentException e) { e.printStackTrace(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java |
} | } | public void removeActionListener(ActionListener l) { try { listenerList.remove(ActionListener.class, l); } catch (IllegalArgumentException e) { e.printStackTrace(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java |
options[0]); | null); | 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... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/804b5aa104a2b4f02bb781d0b5bdd6c220aa8b71/KeyConfigure.java/clean/tn5250j/src/org/tn5250j/keyboard/configure/KeyConfigure.java |
break; case '': sb.append("À"); break; case '': sb.append("à"); break; case '': sb.append("Á"); break; case '': sb.append("á"); break; case '': sb.append("Â"); break; case '': sb.append("â"); break; case '': sb.append("Ã"); break; case '': sb.append("ã"); break; cas... | private String tr2xml(String s) { sb.setLength(0); for (int x =0;x < s.length(); x++) { switch (s.charAt(x)) { case '<': sb.append("<"); break; case '>': sb.append(">"); break; case '&': sb.... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/b424408b7c5f668455972e5e401cbeda3a3ff25a/OpenOfficeOutputFilter.java/clean/tn5250j/src/org/tn5250j/tools/filters/OpenOfficeOutputFilter.java | |
public ScrollPaneUI() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/ScrollPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/ScrollPaneUI.java | ||
protected void installListeners(JComponent c) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicToolTipUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolTipUI.java | ||
protected void uninstallListeners(JComponent c) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicToolTipUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolTipUI.java | ||
protected EditorDelegate() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/DefaultCellEditor.java/clean/core/src/classpath/javax/javax/swing/DefaultCellEditor.java | ||
if (sf.isSignedNumeric()) { rightAdjustField(' '); } } | 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 == ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/5f643f598d4c9c26825afb85bc5c00001a61f35a/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java | |
goto_XY(pos); | if (feError) { feError = false; screenFields.getCurrentField().changePos(-1); if (screenFields.getCurrentField() != null && screenFields.getCurrentField().isFER() && screenFields.getCurrentFieldPos() - 1 == pos) { } } else { goto_XY(pos); } | private void process_XY(int pos) { if (pos < 0) pos = lenScreen + pos ; if (pos > lenScreen - 1) pos = pos - lenScreen; goto_XY(pos); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/5f643f598d4c9c26825afb85bc5c00001a61f35a/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java |
protected boolean simulateKeyStroke(char c){// if (isStatusErrorCode() && !Character.isISOControl(c) && !keyProcessed) {// if (resetRequired)// return false;// else// resetError();// } boolean updateField = false; boolean numericError = false; boolean up... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/5f643f598d4c9c26825afb85bc5c00001a61f35a/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java | ||
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 : ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/5f643f598d4c9c26825afb85bc5c00001a61f35a/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java | ||
if (lowerBound < 1) throw new IllegalArgumentException("lowerBound may not be less than 1"); | public JobKOctetsSupported(int lowerBound, int upperBound) { super(lowerBound, upperBound); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a78ab2f492456918e4f5c52be600854882e139fc/JobKOctetsSupported.java/clean/core/src/classpath/javax/javax/print/attribute/standard/JobKOctetsSupported.java | |
if (progressBar.isBorderPainted()) progressBar.getBorder().paintBorder(progressBar, g, 0, 0, progressBar.getWidth(), progressBar.getHeight()); | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicProgressBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicProgressBarUI.java | |
{ | { | public Caret createCaret() { return new DefaultCaret(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public Caret createCaret() { return new DefaultCaret(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ return new PlainDocument(); } | { return new PlainDocument(); } | public Document createDefaultDocument() { return new PlainDocument(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public Action[] getActions() { return defaultActions; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public Action[] getActions() { return defaultActions; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ return "text/plain"; } | { return "text/plain"; } | public String getContentType() { return "text/plain"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ return null; } | { return null; } | public ViewFactory getViewFactory() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public void read(InputStream in, Document document, int offset) throws BadLocationException, IOException { read(new InputStreamReader(in), document, offset); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public void read(InputStream in, Document document, int offset) throws BadLocationException, IOException { read(new InputStreamReader(in), document, offset); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public void write(OutputStream out, Document document, int offset, int len) throws BadLocationException, IOException { write(new OutputStreamWriter(out), document, offset, len); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public void write(OutputStream out, Document document, int offset, int len) throws BadLocationException, IOException { write(new OutputStreamWriter(out), document, offset, len); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
"Button.margin", new InsetsUIResource(2, 2, 2, 2), | "Button.margin", new InsetsUIResource(2, 14, 2, 14), | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"ComboBox.buttonDarkShadow", new ColorUIResource(shadow), | "ComboBox.buttonDarkShadow", new ColorUIResource(darkShadow), | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"ctrl \\", "clearSelection", "PAGE_DOWN", "scrollDown", "shift PAGE_DOWN","scrollDownExtendSelection", "END", "selectLastRow", "HOME", "selectFirstRow", "shift END", "selectLastRowExtendSelection", "shift HOME", "selectFirstRowExtendSelection", "UP", "selectPreviousRow", "ctrl /", "selectAll", "ctrl A", "selectAll",... | "PASTE", "paste" | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"ctrl DOWN", "selectNextRowChangeLead", "ctrl RIGHT", "selectNextColumnChangeLead", "ctrl UP", "selectPreviousRowChangeLead", "ctrl LEFT", "selectPreviousColumnChangeLead", "CUT", "cut", "SPACE", "addToSelection", "ctrl SPACE", "toggleAndAnchor", "shift SPACE", "extendTo", "shift ctrl SPACE", "moveSelectionTo", "ctrl X... | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
if (workingThread != null) workingThread.interrupt(); | public void canceled(WizardEvent e) {// System.out.println("It is canceled!"); this.hide(); this.dispose(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/68775ed3a5d21d1816c9f1c0c83e86cc736d87cb/SpoolExportWizard.java/clean/tn5250j/src/org/tn5250j/spoolfile/SpoolExportWizard.java | |
Thread cvt = null; | workingThread = null; | 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 () { ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/68775ed3a5d21d1816c9f1c0c83e86cc736d87cb/SpoolExportWizard.java/clean/tn5250j/src/org/tn5250j/spoolfile/SpoolExportWizard.java |
cvt = new Thread(new Runnable () { | workingThread = 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 () { ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/68775ed3a5d21d1816c9f1c0c83e86cc736d87cb/SpoolExportWizard.java/clean/tn5250j/src/org/tn5250j/spoolfile/SpoolExportWizard.java |
cvt = new Thread(new Runnable () { | workingThread = 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 () { ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/68775ed3a5d21d1816c9f1c0c83e86cc736d87cb/SpoolExportWizard.java/clean/tn5250j/src/org/tn5250j/spoolfile/SpoolExportWizard.java |
cvt.start(); | workingThread.start(); | 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 () { ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/68775ed3a5d21d1816c9f1c0c83e86cc736d87cb/SpoolExportWizard.java/clean/tn5250j/src/org/tn5250j/spoolfile/SpoolExportWizard.java |
if (System.getProperty("jnode.font.renderer", "simple").equals("new")) { | final String renderer = (String)AccessController.doPrivileged(new GetPropertyAction("jnode.font.renderer", "simple")); if (renderer.equals("new")) { | 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 { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9b8a49be4b10f32aec13c744f775e06b03210d22/TTFontProvider.java/buggy/gui/src/awt/org/jnode/awt/font/truetype/TTFontProvider.java |
public TTFFontDataFile(URL url) throws IOException { this(new TTFURLInput(url)); | public TTFFontDataFile(String name) throws FileNotFoundException, IOException { this(new TTFFileInput(new RandomAccessFile(name, mode))); fileName = name; | public TTFFontDataFile(URL url) throws IOException { this(new TTFURLInput(url)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/TTFFontDataFile.java/buggy/gui/src/awt/org/jnode/awt/font/truetype/TTFFontDataFile.java |
super ("UTF-16LE", null); | super ("UTF-16LE", new String[] { "UTF16LE", /* These names are provided by * http: */ "x-utf-16le", "ibm-1202", "ibm-13490", "ibm-17586", "UTF16_LittleEndian", "UnicodeLittleUnmarked" }); | UTF_16LE () { super ("UTF-16LE", null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d7e10284742ade2934a1d2f7548145b029098f79/UTF_16LE.java/clean/core/src/classpath/gnu/gnu/java/nio/charset/UTF_16LE.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.