rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
for (int x = 0; x < keyMnemonic.length; x++) { lm.addElement(LangTool.getString("key."+keyMnemonic[x])); | for (int x = 0; x < mnemonicData.length; x++) { lm.addElement(LangTool.getString("key."+mnemonicData[x])); | private void loadList(String which) { lm.clear(); lm.removeAllElements(); if (which.equals(LangTool.getString("key.labelKeys"))) { for (int x = 0; x < keyMnemonic.length; x++) { lm.addElement(LangTool.getString("key."+keyMnemonic[x])); } macros = false; speci... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/KeyConfigure.java/clean/tn5250j/src/org/tn5250j/tools/KeyConfigure.java |
mapper.removeKeyStroke(keyMnemonic[functions.getSelectedIndex()]); | mapper.removeKeyStroke(mnemonicData[functions.getSelectedIndex()]); | private void removeIt() { if (!macros && !special) { mapper.removeKeyStroke(keyMnemonic[functions.getSelectedIndex()]); strokeDesc.setText(mapper.getKeyStrokeDesc( keyMnemonic[functions.getSelectedIndex()])); } else { if (macros) { mapper.re... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/KeyConfigure.java/clean/tn5250j/src/org/tn5250j/tools/KeyConfigure.java |
keyMnemonic[functions.getSelectedIndex()])); | mnemonicData[functions.getSelectedIndex()])); | private void removeIt() { if (!macros && !special) { mapper.removeKeyStroke(keyMnemonic[functions.getSelectedIndex()]); strokeDesc.setText(mapper.getKeyStrokeDesc( keyMnemonic[functions.getSelectedIndex()])); } else { if (macros) { mapper.re... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/KeyConfigure.java/clean/tn5250j/src/org/tn5250j/tools/KeyConfigure.java |
strokeDesc.setText(mapper.getKeyStrokeDesc(keyMnemonic[index])); | strokeDesc.setText(mapper.getKeyStrokeDesc(mnemonicData[index])); | private void setKeyDescription(int index) { // This try and catch is to fix a problem in JDK1.4-betas try { if (!macros && !special) { strokeDesc.setText(mapper.getKeyStrokeDesc(keyMnemonic[index])); } else { if (macros) { System.out.println((Stri... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/KeyConfigure.java/clean/tn5250j/src/org/tn5250j/tools/KeyConfigure.java |
mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke,isAltGr); | mapper.setKeyStroke(mnemonicData[functions.getSelectedIndex()],ke,isAltGr); | private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { if (isLinux) mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke,isAltGr); else mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke); strokeDesc.setText(mapper.getKeySt... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/KeyConfigure.java/clean/tn5250j/src/org/tn5250j/tools/KeyConfigure.java |
mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke); | mapper.setKeyStroke(mnemonicData[functions.getSelectedIndex()],ke); | private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { if (isLinux) mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke,isAltGr); else mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke); strokeDesc.setText(mapper.getKeySt... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/KeyConfigure.java/clean/tn5250j/src/org/tn5250j/tools/KeyConfigure.java |
keyMnemonic[functions.getSelectedIndex()])); | mnemonicData[functions.getSelectedIndex()])); | private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { if (isLinux) mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke,isAltGr); else mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke); strokeDesc.setText(mapper.getKeySt... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/KeyConfigure.java/clean/tn5250j/src/org/tn5250j/tools/KeyConfigure.java |
final ConsoleManager conMgr = (ConsoleManager) InitialNaming .lookup(ConsoleManager.NAME); | final ShellManager sm = InitialNaming.lookup(ShellManager.NAME); final ConsoleManager conMgr = sm.getCurrentShell().getConsole().getManager(); | public static void main(String[] args) throws NameNotFoundException, ShellException { final ConsoleManager conMgr = (ConsoleManager) InitialNaming .lookup(ConsoleManager.NAME); boolean listConsoles = false; boolean newConsole = false; boolean isolateNewC... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1bfec46e5a233d05288439f3c736e4f935a80c6d/ConsoleCommand.java/clean/shell/src/shell/org/jnode/shell/command/driver/console/ConsoleCommand.java |
return keyMap.getKeyStroke(accelKey); | return KeyMapper.getKeyStroke(accelKey); | public KeyStroke getKeyStroke(String accelKey) { return keyMap.getKeyStroke(accelKey); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/07f06b4067597c92fa853238df838b4d56dbcf8c/DefaultKeyboardHandler.java/clean/tn5250j/src/org/tn5250j/keyboard/DefaultKeyboardHandler.java |
return keyMap.isKeyStrokeDefined(accelKey); | return KeyMapper.isKeyStrokeDefined(accelKey); | public boolean isKeyStrokeDefined(String accelKey) { return keyMap.isKeyStrokeDefined(accelKey); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/07f06b4067597c92fa853238df838b4d56dbcf8c/DefaultKeyboardHandler.java/clean/tn5250j/src/org/tn5250j/keyboard/DefaultKeyboardHandler.java |
if (isLinux && keyCode == e.VK_ALT_GRAPH) { | if (isLinux && keyCode == KeyEvent.VK_ALT_GRAPH) { | private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED ||// if (keyCode == e... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/07f06b4067597c92fa853238df838b4d56dbcf8c/DefaultKeyboardHandler.java/clean/tn5250j/src/org/tn5250j/keyboard/DefaultKeyboardHandler.java |
if ( keyCode == e.VK_CAPS_LOCK || keyCode == e.VK_SHIFT || keyCode == e.VK_ALT || keyCode == e.VK_ALT_GRAPH | if ( keyCode == KeyEvent.VK_CAPS_LOCK || keyCode == KeyEvent.VK_SHIFT || keyCode == KeyEvent.VK_ALT || keyCode == KeyEvent.VK_ALT_GRAPH | private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED ||// if (keyCode == e... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/07f06b4067597c92fa853238df838b4d56dbcf8c/DefaultKeyboardHandler.java/clean/tn5250j/src/org/tn5250j/keyboard/DefaultKeyboardHandler.java |
lastKeyStroke = keyMap.getKeyStrokeText(e,isAltGr); | lastKeyStroke = KeyMapper.getKeyStrokeText(e,isAltGr); | private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED ||// if (keyCode == e... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/07f06b4067597c92fa853238df838b4d56dbcf8c/DefaultKeyboardHandler.java/clean/tn5250j/src/org/tn5250j/keyboard/DefaultKeyboardHandler.java |
lastKeyStroke = keyMap.getKeyStrokeText(e); | lastKeyStroke = KeyMapper.getKeyStrokeText(e); | private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED ||// if (keyCode == e... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/07f06b4067597c92fa853238df838b4d56dbcf8c/DefaultKeyboardHandler.java/clean/tn5250j/src/org/tn5250j/keyboard/DefaultKeyboardHandler.java |
if (isLinux && e.getKeyCode() == e.VK_ALT_GRAPH) { | if (isLinux && e.getKeyCode() == KeyEvent.VK_ALT_GRAPH) { | private void processVTKeyReleased(KeyEvent e){ if (isLinux && e.getKeyCode() == e.VK_ALT_GRAPH) { isAltGr = false; } if (Character.isISOControl(e.getKeyChar()) || keyProcessed || e.isConsumed() ) return;// displayInfo(e,"Released " + keyProcessed); String s = keyMap.getKeyStr... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/07f06b4067597c92fa853238df838b4d56dbcf8c/DefaultKeyboardHandler.java/clean/tn5250j/src/org/tn5250j/keyboard/DefaultKeyboardHandler.java |
String s = keyMap.getKeyStrokeText(e); | String s = KeyMapper.getKeyStrokeText(e); | private void processVTKeyReleased(KeyEvent e){ if (isLinux && e.getKeyCode() == e.VK_ALT_GRAPH) { isAltGr = false; } if (Character.isISOControl(e.getKeyChar()) || keyProcessed || e.isConsumed() ) return;// displayInfo(e,"Released " + keyProcessed); String s = keyMap.getKeyStr... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/07f06b4067597c92fa853238df838b4d56dbcf8c/DefaultKeyboardHandler.java/clean/tn5250j/src/org/tn5250j/keyboard/DefaultKeyboardHandler.java |
c.setBorder(defaultBorder); | c.setBorder(defaults.getBorder("ToolTip.border")); | protected void installDefaults(JComponent c) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); c.setBackground(defaults.getColor("ToolTip.background")); c.setForeground(defaults.getColor("ToolTip.foreground")); c.setFont(defaults.getFont("ToolTip.font")); c.setBorder(defaultBorder); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolTipUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolTipUI.java |
protected Attribute(String a_name) | private Attribute(String a_name) | protected Attribute(String a_name) { name = a_name; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/70a2876c99036463feada99a37295405c146f49b/HTML.java/buggy/core/src/classpath/javax/javax/swing/text/html/HTML.java |
public abstract void write_Context(Context context, ContextList contexts); | public void write_Context(Context context, ContextList contexts) { throw new NO_IMPLEMENT(); } | public abstract void write_Context(Context context, ContextList contexts); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/664d51c10013e4cacae28aeda82d586ac5b4250c/OutputStream.java/clean/core/src/classpath/org/org/omg/CORBA/portable/OutputStream.java |
Provider array[] = new Provider[providers.size ()]; | Provider[] array = new Provider[providers.size ()]; | public static Provider[] getProviders() { Provider array[] = new Provider[providers.size ()]; providers.copyInto (array); return array; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6fa52a1e6ba90913f044d146a812c24dc2fc96b6/Security.java/buggy/core/src/classpath/java/java/security/Security.java |
public HTML() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/HTML.java/clean/core/src/classpath/javax/javax/swing/text/html/HTML.java | ||
public JViewport createViewport() | protected JViewport createViewport() | public JViewport createViewport() { return new JViewport(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
firePropertyChange(COLUMN_HEADER_CHANGED_PROPERTY, old, h); | firePropertyChange("columnHeader", old, h); | public void setColumnHeader(JViewport h) { JViewport old = columnHeader; removeNonNull(old); columnHeader = h; addNonNull(h); firePropertyChange(COLUMN_HEADER_CHANGED_PROPERTY, old, h); sync(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
firePropertyChange(COMPONENT_ORIENTATION_CHANGED_PROPERTY, old, co); | firePropertyChange("componentOrientation", old, co); | public void setComponentOrientation(ComponentOrientation co) { ComponentOrientation old = super.getComponentOrientation(); super.setComponentOrientation(co); firePropertyChange(COMPONENT_ORIENTATION_CHANGED_PROPERTY, old, co); sync(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
firePropertyChange(HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY, old, h); | firePropertyChange("horizontalScrollBar", old, h); | public void setHorizontalScrollBar(JScrollBar h) { JScrollBar old = horizontalScrollBar; removeNonNull(old); horizontalScrollBar = h; addNonNull(h); firePropertyChange(HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY, old, h); sync(); if (old != null) { BoundedRangeModel model = old.getModel();... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
firePropertyChange(HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY, old, h); | firePropertyChange("horizontalScrollBarPolicy", old, h); | public void setHorizontalScrollBarPolicy(int h) { if (h != HORIZONTAL_SCROLLBAR_AS_NEEDED && h != HORIZONTAL_SCROLLBAR_NEVER && h != HORIZONTAL_SCROLLBAR_ALWAYS) throw new IllegalArgumentException("unknown horizontal scrollbar policy"); int old = horizontalScrollBarPolicy; horizon... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
firePropertyChange(LAYOUT_CHANGED_PROPERTY, old, l); | firePropertyChange("layout", old, l); | public void setLayout(LayoutManager l) { LayoutManager old = super.getLayout(); ScrollPaneLayout tmp = (ScrollPaneLayout) l; super.setLayout(l); tmp.syncWithScrollPane(this); firePropertyChange(LAYOUT_CHANGED_PROPERTY, old, l); sync(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
firePropertyChange(ROW_HEADER_CHANGED_PROPERTY, old, v); | firePropertyChange("rowHeader", old, v); | public void setRowHeader(JViewport v) { JViewport old = rowHeader; removeNonNull(old); rowHeader = v; addNonNull(v); firePropertyChange(ROW_HEADER_CHANGED_PROPERTY, old, v); sync(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
firePropertyChange(VERTICAL_SCROLLBAR_CHANGED_PROPERTY, old, v); | firePropertyChange("verticalScrollBar", old, v); | public void setVerticalScrollBar(JScrollBar v) { JScrollBar old = verticalScrollBar; removeNonNull(old); verticalScrollBar = v; addNonNull(v); firePropertyChange(VERTICAL_SCROLLBAR_CHANGED_PROPERTY, old, v); sync(); if (old != null) { BoundedRangeModel model = old.getModel(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
firePropertyChange(VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY, old, v); | firePropertyChange("verticalScrollBarPolicy", old, v); | public void setVerticalScrollBarPolicy(int v) { if (v != VERTICAL_SCROLLBAR_AS_NEEDED && v != VERTICAL_SCROLLBAR_NEVER && v != VERTICAL_SCROLLBAR_ALWAYS) throw new IllegalArgumentException("unknown vertical scrollbar policy"); int old = verticalScrollBarPolicy; verticalScrollBarPolicy... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
firePropertyChange(VIEWPORT_CHANGED_PROPERTY, old, v); | firePropertyChange("viewport", old, v); | public void setViewport(JViewport v) { JViewport old = viewport; removeNonNull(old); if (old != null) old.removeChangeListener(scrollListener); viewport = v; if (v != null) v.addChangeListener(scrollListener); addNonNull(v); revalidate(); repaint(); firePropertyChange(VIEWPORT_CH... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
firePropertyChange(VIEWPORT_BORDER_CHANGED_PROPERTY, old, b); | firePropertyChange("viewportBorder", old, b); | public void setViewportBorder(Border b) { Border old = viewportBorder; viewportBorder = b; firePropertyChange(VIEWPORT_BORDER_CHANGED_PROPERTY, old, b); sync(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
firePropertyChange(WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY, old, b); | firePropertyChange("wheelScrollingEnabled", old, b); | public void setWheelScrollingEnabled(boolean b) { boolean old = wheelScrollingEnabled; wheelScrollingEnabled = b; firePropertyChange(WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY, old, b); sync(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
"FileChooserUI", "javax.swing.plaf.basic.BasicFileChooserUI", | protected void initClassDefaults(UIDefaults defaults) { // Variables Object[] uiDefaults; // Initialize Class Defaults uiDefaults = new Object[] { "ButtonUI", "javax.swing.plaf.basic.BasicButtonUI", "CheckBoxMenuItemUI", "javax.swing.plaf.basic.BasicCheckBoxMenuItemUI", "CheckBoxUI", "java... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"FileChooser.detailsViewIcon", new IconUIResource(new ImageIcon("icons/DetailsView.gif")), | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"FileChooser.homeFolderIcon", new IconUIResource(new ImageIcon("icons/HomeFolder.gif")), "FileChooser.listViewIcon", new IconUIResource(new ImageIcon("icons/ListView.gif")), | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"FileChooser.newFolderIcon", new IconUIResource(new ImageIcon("icons/NewFolder.gif")), | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"FileChooser.upFolderIcon", new IconUIResource(new ImageIcon("icons/UpFolder.gif")), | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"FileView.computerIcon", new IconUIResource(new ImageIcon("icons/Computer.gif")), "FileView.directoryIcon", new IconUIResource(new ImageIcon("icons/Directory.gif")), "FileView.fileIcon", new IconUIResource(new ImageIcon("icons/File.gif")), "FileView.floppyDriveIcon", new IconUIResource(new ImageIcon("icons/Floppy.gi... | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"InternalFrame.icon", new IconUIResource(new ImageIcon("icons/JavaCup.gif")), | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"OptionPane.errorIcon", new IconUIResource(new ImageIcon("icons/Error.gif")), | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"OptionPane.informationIcon", new IconUIResource(new ImageIcon("icons/Inform.gif")), | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"OptionPane.questionIcon", new IconUIResource(new ImageIcon("icons/Question.gif")), "OptionPane.warningIcon", new IconUIResource(new ImageIcon("icons/Warn.gif")), | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"TextPane.selectionForeground", new ColorUIResource(Color.white), | "TextPane.selectionForeground", new ColorUIResource(Color.white)/*, | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"Tree.closedIcon", new IconUIResource(new ImageIcon("icons/TreeClosed.png")), "Tree.collapsedIcon", new IconUIResource(new ImageIcon("icons/TreeCollapsed.png")), | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"Tree.expandedIcon", new IconUIResource(new ImageIcon("icons/TreeExpanded.png")), | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"Tree.leafIcon", new IconUIResource(new ImageIcon("icons/TreeLeaf.png")), | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"Tree.openIcon", new IconUIResource(new ImageIcon("icons/TreeOpen.png")), | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"Viewport.font", new FontUIResource("Dialog", Font.PLAIN, 12) | "Viewport.font", new FontUIResource("Dialog", Font.PLAIN, 12)*/ | 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[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
if (str.indexOf('\n') == -1) | if (str != null && str.indexOf('\n') == -1) | protected Document createDefaultModel() { // subclassed to swallow newlines return new PlainDocument() { public void insertString(int offset, String str, AttributeSet a) throws BadLocationException { if (str.indexOf('\n') == -1) super.insertString(offset, str, a); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java |
if (str.indexOf('\n') == -1) | if (str != null && str.indexOf('\n') == -1) | public void insertString(int offset, String str, AttributeSet a) throws BadLocationException { if (str.indexOf('\n') == -1) super.insertString(offset, str, a); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java |
throw new CloneNotSupportedException(); | return super.clone(); | public Object clone() throws CloneNotSupportedException { throw new CloneNotSupportedException(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/698ac538b7482b0e4aac918befb43b8376e364e3/SignatureSpi.java/buggy/core/src/classpath/java/java/security/SignatureSpi.java |
public SignatureException(String msg) | public SignatureException() | public SignatureException(String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/SignatureException.java/buggy/core/src/classpath/java/java/security/SignatureException.java |
super(msg); | public SignatureException(String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/SignatureException.java/buggy/core/src/classpath/java/java/security/SignatureException.java | |
public TN5250jMultiSelectList() { this(4); | public TN5250jMultiSelectList(ListModel dataModel) { this(); mainList.setModel(dataModel); init(); | public TN5250jMultiSelectList() { this(4); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/f4fdc38be76eb59cc976a81e8bc099d6c2bc5bad/TN5250jMultiSelectList.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jMultiSelectList.java |
public void setListData(final Vector listData) { | public void setListData(final Object[] listData) { | public void setListData(final Vector listData) { mainList.setListData(listData); updateView(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/f4fdc38be76eb59cc976a81e8bc099d6c2bc5bad/TN5250jMultiSelectList.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jMultiSelectList.java |
public void setFixedCellWidth(int w) { if (fixedCellWidth == w) return; int old = fixedCellWidth; fixedCellWidth = w; firePropertyChange("fixedCellWidth", old, w); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JList.java/buggy/core/src/classpath/javax/javax/swing/JList.java | ||
public void draw(Shape shape, AffineTransform tx, Color color, int mode) { draw(shape, tx, convertColor(color), mode); | public void draw(Shape shape, Shape clip, AffineTransform tx, Color color, int mode) { draw(shape, clip, tx, convertColor(color), mode); | public void draw(Shape shape, AffineTransform tx, Color color, int mode) { draw(shape, tx, convertColor(color), mode); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4557d0702a8d0890ae78e109ce9a6ba79d7a5beb/AbstractSurface.java/buggy/gui/src/driver/org/jnode/driver/video/util/AbstractSurface.java |
public void fill(Shape shape, AffineTransform trans, Color color, int mode) { | public void fill(Shape shape, Shape clip, AffineTransform trans, Color color, int mode) { | public void fill(Shape shape, AffineTransform trans, Color color, int mode) { final int c = convertColor(color); final double tx; final double ty; final Shape txShape; if (trans == null) { tx = 0.0; ty = 0.0; txShape = shape; } else if (trans.getType() == AffineTransform.TYPE_IDENTITY) { tx = 0.0; ty =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4557d0702a8d0890ae78e109ce9a6ba79d7a5beb/AbstractSurface.java/buggy/gui/src/driver/org/jnode/driver/video/util/AbstractSurface.java |
final Rectangle bounds = txShape.getBounds(); | Rectangle bounds = txShape.getBounds(); | public void fill(Shape shape, AffineTransform trans, Color color, int mode) { final int c = convertColor(color); final double tx; final double ty; final Shape txShape; if (trans == null) { tx = 0.0; ty = 0.0; txShape = shape; } else if (trans.getType() == AffineTransform.TYPE_IDENTITY) { tx = 0.0; ty =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4557d0702a8d0890ae78e109ce9a6ba79d7a5beb/AbstractSurface.java/buggy/gui/src/driver/org/jnode/driver/video/util/AbstractSurface.java |
fillRect((int)(tx + bounds.x), (int)(ty + bounds.y), bounds.width, bounds.height, c, mode); | if (txClip != null) { bounds = bounds.createIntersection(txClip.getBounds2D()).getBounds(); System.out.println("Clipped bounds " + bounds); } if ((bounds.width > 0) && (bounds.height > 0)) { bounds.translate((int) tx, (int) ty); fillRect(bounds.x, bounds.y, bounds.width, bounds.height, c, mode); } | public void fill(Shape shape, AffineTransform trans, Color color, int mode) { final int c = convertColor(color); final double tx; final double ty; final Shape txShape; if (trans == null) { tx = 0.0; ty = 0.0; txShape = shape; } else if (trans.getType() == AffineTransform.TYPE_IDENTITY) { tx = 0.0; ty =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4557d0702a8d0890ae78e109ce9a6ba79d7a5beb/AbstractSurface.java/buggy/gui/src/driver/org/jnode/driver/video/util/AbstractSurface.java |
if (txShape.contains(x, y)) { | if (txShape.contains(x, y) && ((txClip == null) || txClip.contains(x, y))) { | public void fill(Shape shape, AffineTransform trans, Color color, int mode) { final int c = convertColor(color); final double tx; final double ty; final Shape txShape; if (trans == null) { tx = 0.0; ty = 0.0; txShape = shape; } else if (trans.getType() == AffineTransform.TYPE_IDENTITY) { tx = 0.0; ty =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4557d0702a8d0890ae78e109ce9a6ba79d7a5beb/AbstractSurface.java/buggy/gui/src/driver/org/jnode/driver/video/util/AbstractSurface.java |
public InstantiationError() { super(); | public InstantiationError() { | public InstantiationError() { super(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/InstantiationError.java/buggy/core/src/classpath/java/java/lang/InstantiationError.java |
setFocusable(false); | public MetalScrollButton(int direction, int width, boolean freeStanding) { super(direction); buttonWidth = width; this.freeStanding = freeStanding; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/MetalScrollButton.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalScrollButton.java | |
return getPreferredSize(); | return MAXIMUM_SIZE; | public Dimension getMaximumSize() { return getPreferredSize(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicArrowButton.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicArrowButton.java |
return getPreferredSize(); | return MINIMUM_SIZE; | public Dimension getMinimumSize() { return getPreferredSize(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicArrowButton.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicArrowButton.java |
char ac = codePage.getASCIIChar(abyte0[x]); | char ac = codePage.ebcdic2uni(abyte0[x]); | public void dump (byte[] abyte0) { try { System.out.print("\n Buffer Dump of data from AS400: "); dw.write("\r\n Buffer Dump of data from AS400: ".getBytes()); StringBuffer h = new StringBuffer(); for (int x = 0; x < abyte0.length; x++) { if (x % 16 == 0) { ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d4104819203aa6b5361aa997d2cd29a076f417a7/DataStreamProducer.java/buggy/tn5250j/src/org/tn5250j/DataStreamProducer.java |
frameInit(); | super.setLayout(new BorderLayout(1, 1)); getRootPane(); | public JApplet() { frameInit(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java |
public JRootPane createRootPane() | protected JRootPane createRootPane() | public JRootPane createRootPane() { return new JRootPane(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java |
public void setRootPane(JRootPane root) | protected void setRootPane(JRootPane root) | public void setRootPane(JRootPane root) { if (rootPane != null) remove(rootPane); rootPane = root; add(rootPane, BorderLayout.CENTER); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java |
int caretPos = textComponent.getCaretPosition(); if (caretPos >= ev.getOffset()) textComponent.setCaretPosition(caretPos + ev.getLength()); | public void insertUpdate(DocumentEvent ev) { Dimension size = textComponent.getSize(); rootView.insertUpdate(ev, new Rectangle(0, 0, size.width, size.height), BasicTextUI.this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java | |
int caretPos = textComponent.getCaretPosition(); if (caretPos >= ev.getOffset()) textComponent.setCaretPosition(caretPos - ev.getLength()); | public void removeUpdate(DocumentEvent ev) { Dimension size = textComponent.getSize(); rootView.removeUpdate(ev, new Rectangle(0, 0, size.width, size.height), BasicTextUI.this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java | |
String indent, boolean dontCloseNode | String indent | public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode ) { super.toXDFOutputSt... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/a727844c812ad64c9c742e18a873cabe143e5865/Units.java/buggy/src/gov/nasa/gsfc/adc/xdf/Units.java |
dontCloseNode, | false, | public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode ) { super.toXDFOutputSt... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/a727844c812ad64c9c742e18a873cabe143e5865/Units.java/buggy/src/gov/nasa/gsfc/adc/xdf/Units.java |
public NoSuchProtocolException(String message) { super(message); | public NoSuchProtocolException() { super(); | public NoSuchProtocolException(String message) { super(message); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/NoSuchProtocolException.java/buggy/net/src/net/org/jnode/net/NoSuchProtocolException.java |
if (col == 0) | if (col == 0) | public Object getValueAt(int row, int col) { if (col == 0) return getPropValue(row,null); if (col == 1) return getPropValue(row,"0"); if (col == 2) { if (getPropValue(row,null).equals(props.getProperty("emul.default",""))) return new Boolean(true); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
if (col == 1) | if (col == 1) | public Object getValueAt(int row, int col) { if (col == 0) return getPropValue(row,null); if (col == 1) return getPropValue(row,"0"); if (col == 2) { if (getPropValue(row,null).equals(props.getProperty("emul.default",""))) return new Boolean(true); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
if (col == 2) { | if (col == 2) { | public Object getValueAt(int row, int col) { if (col == 0) return getPropValue(row,null); if (col == 1) return getPropValue(row,"0"); if (col == 2) { if (getPropValue(row,null).equals(props.getProperty("emul.default",""))) return new Boolean(true); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
} return null; | } return null; | public Object getValueAt(int row, int col) { if (col == 0) return getPropValue(row,null); if (col == 1) return getPropValue(row,"0"); if (col == 2) { if (getPropValue(row,null).equals(props.getProperty("emul.default",""))) return new Boolean(true); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
if (e.getActionCommand().equals("APPLY")) { saveProps(); } | public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("DONE")) { saveProps(); setVisible(false); } if (e.getActionCommand().equals("ADD")) { Configure.doEntry((JFrame)getParent(),null,props); ctm.addSession(); } if (e.getActionCommand().... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java | |
setVisible(false); | try {Thread.sleep(500);}catch(java.lang.InterruptedException ie) {} this.dispose(); | private void doActionConnect () { int selectedRow = rowSM.getMinSelectionIndex(); connectKey = (String)ctm.getValueAt(selectedRow,0); saveProps(); setVisible(false); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
KeyStroke enter = KeyStroke.getKeyStroke(KeyEvent.VK_ENTER,0); sessions.registerKeyboardAction(new ActionListener() { | Action connect = new AbstractAction("connect") { | void jbInit() throws Exception { // make it non resizable setResizable(true); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
},enter,JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT); | }; | void jbInit() throws Exception { // make it non resizable setResizable(true); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
connectButton = addOptButton(LangTool.getString("ss.optConnect"),"CONNECT",options,false); | showMe = new JCheckBox(LangTool.getString("ss.labelShowMe")); if(props.containsKey("emul.showConnectDialog")) showMe.setSelected(true); showMe.addItemListener(new java.awt.event.ItemListener() { public void itemStateChanged(ItemEvent e) { showMe_itemStateChanged(e); } }); options.add(showMe); connectButton = addOptB... | void jbInit() throws Exception { // make it non resizable setResizable(true); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
void jbInit() throws Exception { // make it non resizable setResizable(true); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java | ||
sessions.getSelectionModel().setSelectionInterval(0,0); | int selInterval = 0; for (int x = 0; x < sessions.getRowCount(); x++) { if (((Boolean)ctm.getValueAt(x,2)).booleanValue()) selInterval = x; } sessions.getSelectionModel().setSelectionInterval(selInterval,selInterval); | void jbInit() throws Exception { // make it non resizable setResizable(true); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
locString = "location = (UNKNOWN)"; | locString = "location = (UNKNOWN)"; | protected void displayInfo(KeyEvent e, String s){ String charString, keyCodeString, modString, tmpString,isString,locString; char c = e.getKeyChar(); int keyCode = e.getKeyCode(); int modifiers = e.getModifiers();// int location = e.getKeyLocation(); if (Character.isISOC... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/ee3feb0af86f7d4cf6a36cbd5a40afc100c27c2e/KeyConfigure.java/clean/tn5250j/src/org/tn5250j/tools/KeyConfigure.java |
String k = ""; k += ((String)lm.getElementAt(index)).charAt(7); | String k = parseSpecialCharacter((String)lm.getElementAt(index)); | private void setKeyDescription(int index) { // This try and catch is to fix a problem in JDK1.4-betas try { if (!macros && !special) { KeyDescription kd = (KeyDescription)lm.getElementAt(index); strokeDesc.setText(mapper.getKeyStrokeDesc(mnemonicData[kd.getIndex()])); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/ee3feb0af86f7d4cf6a36cbd5a40afc100c27c2e/KeyConfigure.java/clean/tn5250j/src/org/tn5250j/tools/KeyConfigure.java |
String k = ""; k += ((String)functions.getSelectedValue()).charAt(7); | String k = parseSpecialCharacter((String)functions.getSelectedValue()); | private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { int index = ((KeyDescription)functions.getSelectedValue()).getIndex(); if (isLinux) mapper.setKeyStroke(mnemonicData[index],ke,isAltGr); else mapper.setKeyStroke(mnemonicData[index],ke); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/ee3feb0af86f7d4cf6a36cbd5a40afc100c27c2e/KeyConfigure.java/clean/tn5250j/src/org/tn5250j/tools/KeyConfigure.java |
if (item == null) editor.setText(""); else | public void setItem(Object item) { editor.setText(item.toString()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/BasicComboBoxEditor.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxEditor.java | |
updateImage(dirty); | public void setFieldHighlighted(ScreenField sf) { int pos = sf.startPos(); int x = sf.length; int na = sf.getHighlightedAttr(); while (x-- > 0) { screen[pos].setAttribute(na); setDirty(pos++); }// updateImage(dirty); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/da0cd47c1e63268a2a20d46b85d843591db06f64/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | |
public long getBlockGroupNr() { | public synchronized long getBlockGroupNr() { | public long getBlockGroupNr() { if(getRevLevel()==Ext2Constants.EXT2_DYNAMIC_REV) return Ext2Utils.get16(data, 90); else return 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76cdfbaf38c1029347a5829758eac206a20e3b16/Superblock.java/clean/fs/src/fs/org/jnode/fs/ext2/Superblock.java |
public long getFreeBlocksCount() { | public synchronized long getFreeBlocksCount() { | public long getFreeBlocksCount() { return Ext2Utils.get32(data, 12); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76cdfbaf38c1029347a5829758eac206a20e3b16/Superblock.java/clean/fs/src/fs/org/jnode/fs/ext2/Superblock.java |
public long getFreeInodesCount() { | public synchronized long getFreeInodesCount() { | public long getFreeInodesCount() { return Ext2Utils.get32(data, 16); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76cdfbaf38c1029347a5829758eac206a20e3b16/Superblock.java/clean/fs/src/fs/org/jnode/fs/ext2/Superblock.java |
public int getState() { | public synchronized int getState() { | public int getState() { return Ext2Utils.get16(data, 58); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76cdfbaf38c1029347a5829758eac206a20e3b16/Superblock.java/clean/fs/src/fs/org/jnode/fs/ext2/Superblock.java |
public long getWTime() { | public synchronized long getWTime() { | public long getWTime() { return Ext2Utils.get32(data, 48); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76cdfbaf38c1029347a5829758eac206a20e3b16/Superblock.java/clean/fs/src/fs/org/jnode/fs/ext2/Superblock.java |
public void setBlockGroupNr(int i) { | public synchronized void setBlockGroupNr(int i) { | public void setBlockGroupNr(int i) { Ext2Utils.set16(data, 90, i); setDirty(true); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76cdfbaf38c1029347a5829758eac206a20e3b16/Superblock.java/clean/fs/src/fs/org/jnode/fs/ext2/Superblock.java |
public void setFreeBlocksCount(long count) { | public synchronized void setFreeBlocksCount(long count) { | public void setFreeBlocksCount(long count) { Ext2Utils.set32(data, 12, count); setDirty(true); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76cdfbaf38c1029347a5829758eac206a20e3b16/Superblock.java/clean/fs/src/fs/org/jnode/fs/ext2/Superblock.java |
public void setFreeInodesCount(long count) { | public synchronized void setFreeInodesCount(long count) { | public void setFreeInodesCount(long count) { Ext2Utils.set32(data, 16, count); setDirty(true); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76cdfbaf38c1029347a5829758eac206a20e3b16/Superblock.java/clean/fs/src/fs/org/jnode/fs/ext2/Superblock.java |
public void setState(int state) { | public synchronized void setState(int state) { | public void setState(int state) { Ext2Utils.set16(data, 58, state); setDirty(true); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76cdfbaf38c1029347a5829758eac206a20e3b16/Superblock.java/clean/fs/src/fs/org/jnode/fs/ext2/Superblock.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.