rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
return null; | return getPreferredSize(); | public Dimension getPreferredSize(int rows) { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/997b3301ad5955ee89640df7512e32cae6698f34/SwingListPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingListPeer.java |
public MidiUnavailableException(String s) | public MidiUnavailableException() | public MidiUnavailableException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/MidiUnavailableException.java/clean/core/src/classpath/javax/javax/sound/midi/MidiUnavailableException.java |
super(s); | super(); | public MidiUnavailableException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/MidiUnavailableException.java/clean/core/src/classpath/javax/javax/sound/midi/MidiUnavailableException.java |
public Exception getException () { return exception; } | public Exception getException() { return exception; } | public Exception getException () { return exception; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/TransformerFactoryConfigurationError.java/clean/core/src/classpath/javax/javax/xml/transform/TransformerFactoryConfigurationError.java |
public String getMessage () { if (super.getMessage () == null && exception != null) return exception.getMessage (); return super.getMessage (); } | public String getMessage() { String message = super.getMessage(); if (message == null && exception != null) { message = exception.getMessage(); } return message; } | public String getMessage () { if (super.getMessage () == null && exception != null) return exception.getMessage (); return super.getMessage (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/TransformerFactoryConfigurationError.java/clean/core/src/classpath/javax/javax/xml/transform/TransformerFactoryConfigurationError.java |
org.omg.CORBA.Object other ) | org.omg.CORBA.Object other) | public boolean is_equivalent(org.omg.CORBA.Object target, org.omg.CORBA.Object other ) { if (target == other) return true; if ((target instanceof ObjectImpl) && other instanceof ObjectImpl) { try { org.omg.CORBA.por... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/SimpleDelegate.java/buggy/core/src/classpath/gnu/gnu/CORBA/SimpleDelegate.java |
org.omg.CORBA.portable.Delegate a = ((ObjectImpl) target)._get_delegate(); org.omg.CORBA.portable.Delegate b = ((ObjectImpl) other)._get_delegate(); | org.omg.CORBA.portable.Delegate a = ((ObjectImpl) target)._get_delegate(); org.omg.CORBA.portable.Delegate b = ((ObjectImpl) other)._get_delegate(); | public boolean is_equivalent(org.omg.CORBA.Object target, org.omg.CORBA.Object other ) { if (target == other) return true; if ((target instanceof ObjectImpl) && other instanceof ObjectImpl) { try { org.omg.CORBA.por... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/SimpleDelegate.java/buggy/core/src/classpath/gnu/gnu/CORBA/SimpleDelegate.java |
} else { if (a instanceof IorProvider && b instanceof IorProvider) { IOR ia = ((IorProvider) a).getIor(); IOR ib = ((IorProvider) b).getIor(); if (ia != null && ib != null) return (ia.equals(ib)); else return ia == ib; } | public boolean is_equivalent(org.omg.CORBA.Object target, org.omg.CORBA.Object other ) { if (target == other) return true; if ((target instanceof ObjectImpl) && other instanceof ObjectImpl) { try { org.omg.CORBA.por... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/SimpleDelegate.java/buggy/core/src/classpath/gnu/gnu/CORBA/SimpleDelegate.java | |
if (bounds==null) | if (bounds == null) | Rectangle getBounds() { // This method may be called in the context when the tree rectangle is // not known. To work around this, it is assumed near infinitely large. if (bounds==null) bounds = getNodeDimensions(node, row, depth, isExpanded, new Rectangle(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/eef19a6fbc70451186d53b7669077748b8b7c136/FixedHeightLayoutCache.java/buggy/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java |
int deeper = depth+1; | int deeper = depth + 1; | private final void countRows(Object node, Object parent, int depth) { Integer n = new Integer(row2node.size()); row2node.put(n, node); NodeRecord nr = new NodeRecord(n.intValue(), depth, node, parent); nodes.put(node, nr); // For expanded nodes and for the root node. if (expanded.contains(node)... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/eef19a6fbc70451186d53b7669077748b8b7c136/FixedHeightLayoutCache.java/buggy/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java |
if (r!=null) | if (r != null) | public void invalidatePathBounds(TreePath path) { NodeRecord r = (NodeRecord) nodes.get(path.getLastPathComponent()); if (r!=null) r.bounds = null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/eef19a6fbc70451186d53b7669077748b8b7c136/FixedHeightLayoutCache.java/buggy/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java |
{ try | throws IOException | protected InputStream getStream(URL page) { try { return page.openStream(); } catch (Exception e) { System.out.println("Hhmmm, failed to open stream: " + e); } return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/JEditorPane.java/clean/core/src/classpath/javax/javax/swing/JEditorPane.java |
catch (Exception e) { System.out.println("Hhmmm, failed to open stream: " + e); } return null; } | protected InputStream getStream(URL page) { try { return page.openStream(); } catch (Exception e) { System.out.println("Hhmmm, failed to open stream: " + e); } return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/JEditorPane.java/clean/core/src/classpath/javax/javax/swing/JEditorPane.java | |
throws IOException | public void read(InputStream in, Object desc) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/JEditorPane.java/clean/core/src/classpath/javax/javax/swing/JEditorPane.java | |
} | public void setText(String text) { try { doc.remove(0, doc.getLength()); doc.insertString(0, text, null); } catch (BadLocationException e) { // This can never happen. } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/JTextComponent.java/buggy/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
calculatePreferredSize(); layoutContainer(scrollbar); | public void stateChanged(ChangeEvent e) { getThumbBounds(); scrollbar.repaint(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicScrollBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java | |
width += Math.max(200, scrollbar.getVisibleAmount()); | width += (scrollbar.getMaximum() - scrollbar.getMinimum()); | private void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += Math.max(200, scrollbar.getVisibleAmount())... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicScrollBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java |
height += Math.max(200, scrollbar.getVisibleAmount()); | height += (scrollbar.getMaximum() - scrollbar.getMinimum()); | private void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += Math.max(200, scrollbar.getVisibleAmount())... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicScrollBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java |
protected Rectangle getThumbBounds() { int max = scrollbar.getMaximum(); int min = scrollbar.getMinimum(); int value = scrollbar.getValue(); int extent = scrollbar.getVisibleAmount(); if (max == min) { thumbRect.x = trackRect.x; thumbRect.y = trackRect.y; if (scrollbar.getOrientation... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicScrollBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java | ||
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); scrollbar.setForeground(defaults.getColor("ScrollBar.foreground")); scrollbar.setBackground(defaults.getColor("ScrollBar.background")); scrollbar.setBorder(defaults.getBorder("ScrollBar.border")); maximumThumb... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicScrollBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java | ||
scrollbar.setOpaque(true); | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); scrollbar.setForeground(defaults.getColor("ScrollBar.foreground")); scrollbar.setBackground(defaults.getColor("ScrollBar.background")); scrollbar.setBorder(defaults.getBorder("ScrollBar.border")); maximumThumb... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicScrollBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java | |
public void paint(Graphics g, JComponent c) { layoutContainer(scrollbar); // Rectangle r = incrButton.getBounds();// SwingUtilities.paintComponent(g, incrButton, scrollbar, r.x, r.y, r.width,// r.height);// r = decrButton.getBounds();// SwingUtilities.paintComponent... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicScrollBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java | ||
protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting) | protected void fireValueChanged(int firstIndex, int lastIndex) | protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting) { ListSelectionEvent evt = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting); ListSelectionListener[] listeners = getListS... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/DefaultListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListSelectionModel.java |
ListSelectionEvent evt = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting); ListSelectionListener[] listeners = getListSelectionListeners(); for (int i = 0; i < listeners.length; ++i) listeners[i].valueChanged(evt); | fireValueChanged(firstIndex, lastIndex, getValueIsAdjusting()); | protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting) { ListSelectionEvent evt = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting); ListSelectionListener[] listeners = getListS... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/DefaultListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListSelectionModel.java |
module = (LoginModule) Class.forName (entry.getLoginModuleName()).newInstance(); | ClassLoader cl = Thread.currentThread().getContextClassLoader(); Class c = Class.forName(entry.getLoginModuleName(), true, cl); module = (LoginModule) c.newInstance(); | private LoginModule lookupModule (AppConfigurationEntry entry, Subject subject, Map sharedState) throws LoginException { LoginModule module = null; Exception cause = null; try { module = (LoginModule) Class.forName (entry.getLoginModuleName()).newInstance();... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/LoginContext.java/buggy/core/src/classpath/javax/javax/security/auth/login/LoginContext.java |
public TypeMismatch(String why) | public TypeMismatch() | public TypeMismatch(String why) { super(why); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/TypeMismatch.java/buggy/core/src/classpath/org/org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java |
super(why); | public TypeMismatch(String why) { super(why); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/TypeMismatch.java/buggy/core/src/classpath/org/org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java | |
"LEFT", "positiveUnitIncrement", | "LEFT", "negativeUnitIncrement", | 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/53983e95556bf4b775130b06570aa2ea08d85628/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"RIGHT", "negativeUnitIncrement", "KP_LEFT", "positiveUnitIncrement", | "RIGHT", "positiveUnitIncrement", "KP_LEFT", "negativeUnitIncrement", | 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/53983e95556bf4b775130b06570aa2ea08d85628/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"KP_RIGHT", "negativeUnitIncrement" | "KP_RIGHT", "positiveUnitIncrement" | 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/53983e95556bf4b775130b06570aa2ea08d85628/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"LEFT", "negativeIncremnent", | "LEFT", "negativeIncrement", | 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/53983e95556bf4b775130b06570aa2ea08d85628/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"KP_RIGHT", "positiveIncrement" | "KP_RIGHT", "positiveIncrement", "shift ctrl pressed TAB", "focusOutBackward", "ctrl pressed TAB", "focusOutForward" | 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/53983e95556bf4b775130b06570aa2ea08d85628/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
for (i = lo; i < hi; ++i) | for (i = lo; i <= hi; ++i) | public int[] getSelectedIndices() { int lo, hi, n, i, j; if (selectionModel.isSelectionEmpty()) return new int[0]; lo = selectionModel.getMinSelectionIndex(); hi = selectionModel.getMaxSelectionIndex(); n = 0; for (i = lo; i < hi; ++i) if (selectionModel.isSelectedIndex(i)) n++; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1edc4cba009ff2c639001f1fd1842c4da4b86249/JList.java/clean/core/src/classpath/javax/javax/swing/JList.java |
enableEvents( AWTEvent.KEY_EVENT_MASK ); | public JComponent() { super(); super.setLayout(new FlowLayout()); //eventMask |= AWTEvent.COMP_KEY_EVENT_MASK; enableEvents( AWTEvent.KEY_EVENT_MASK ); //updateUI(); // get a proper ui } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java | |
{ get_ancestor_list().addElement(listener); } | { listenerList.add(AncestorListener.class, listener); } | public void addAncestorListener(AncestorListener listener) { get_ancestor_list().addElement(listener); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java |
{ get_change_list().addElement(listener); } | { listenerList.add(PropertyChangeListener.class, listener); } | public void addPropertyChangeListener(PropertyChangeListener listener) { get_change_list().addElement(listener); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java |
{ get_veto_list().addElement(listener); } | { listenerList.add(VetoableChangeListener.class, listener); } | public void addVetoableChangeListener(VetoableChangeListener listener) { get_veto_list().addElement(listener); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java |
throws PropertyVetoException | protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) { // Support for reporting constrained property changes. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java | |
return "JComponent"; | return "ComponentUI"; | public String getUIClassID() { /// Return the UIDefaults key used to look up the name of the swing. return "JComponent"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java |
Graphics g2 = g; Image im = null; Rectangle r = getBounds (); if (use_double_buffer) { im = createImage (r.width, r.height); g2 = im.getGraphics (); if (this.getBackground() != null) { Color save = g2.getColor(); g2.setColor(this.getBackground()); g2.fillRect (0, 0, r.width, r.height); g2.setColor(save); } else g2.cl... | public void paint(Graphics g) { // System.out.println("SWING_PAINT:" + this); paintBorder(g); paintComponent(g); paintChildren(g); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java | |
paintBorder(g); paintComponent(g); paintChildren(g); | if (use_double_buffer) { g.drawImage (im, 0, 0, (ImageObserver)null); } | public void paint(Graphics g) { // System.out.println("SWING_PAINT:" + this); paintBorder(g); paintComponent(g); paintChildren(g); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java |
super.paint(g); | protected void paintChildren(Graphics g) { // Paint this component's children. //super.paintChildren(g); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java | |
{ get_ancestor_list().removeElement(listener); } | { listenerList.remove(AncestorListener.class, listener); } | public void removeAncestorListener(AncestorListener listener) { get_ancestor_list().removeElement(listener); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java |
{ get_change_list().removeElement(listener); } | { listenerList.remove(PropertyChangeListener.class, listener); } | public void removePropertyChangeListener(PropertyChangeListener listener) { get_change_list().removeElement(listener); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java |
{ get_veto_list().removeElement(listener); } | { listenerList.remove(VetoableChangeListener.class, listener); } | public void removeVetoableChangeListener(VetoableChangeListener listener) { get_veto_list().removeElement(listener); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java |
setPropertiesFromAttributes(); | public LabelView(Element element) { super(element); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/LabelView.java/buggy/core/src/classpath/javax/javax/swing/text/LabelView.java | |
protected void addImpl(Component comp, Object constraints, int index) { super.addImpl(comp, constraints, index); } | protected void addImpl(Component comp, Object constraints, int index) { super.addImpl(comp, constraints, index); } | protected void addImpl(Component comp, Object constraints, int index) { super.addImpl(comp, constraints, index); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
JRootPane createRootPane() { return new JRootPane(); } | JRootPane createRootPane() { return new JRootPane(); } | JRootPane createRootPane() { return new JRootPane(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
protected void frameInit() { super.setLayout(new BorderLayout(1, 1)); getRootPane(); } | protected void frameInit() { super.setLayout(new BorderLayout(1, 1)); enableEvents(AWTEvent.WINDOW_EVENT_MASK); getRootPane(); } | protected void frameInit() { super.setLayout(new BorderLayout(1, 1)); getRootPane(); // will do set/create } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
public AccessibleContext getAccessibleContext() { return accessibleContext; } | public AccessibleContext getAccessibleContext() { return accessibleContext; } | public AccessibleContext getAccessibleContext() { return accessibleContext; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
public Container getContentPane() { return getRootPane().getContentPane(); } | public Container getContentPane() { return getRootPane().getContentPane(); } | public Container getContentPane() { return getRootPane().getContentPane(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
Component getGlassPane() { return getRootPane().getGlassPane(); } | Component getGlassPane() { return getRootPane().getGlassPane(); } | Component getGlassPane() { return getRootPane().getGlassPane(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
JMenuBar getJMenuBar() { return getRootPane().getJMenuBar(); } | JMenuBar getJMenuBar() { return getRootPane().getJMenuBar(); } | JMenuBar getJMenuBar() { return getRootPane().getJMenuBar(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
JLayeredPane getLayeredPane() { return getRootPane().getLayeredPane(); } | JLayeredPane getLayeredPane() { return getRootPane().getLayeredPane(); } | JLayeredPane getLayeredPane() { return getRootPane().getLayeredPane(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
public Dimension getPreferredSize() { Dimension d = super.getPreferredSize(); return d; } | public Dimension getPreferredSize() { Dimension d = super.getPreferredSize(); return d; } | public Dimension getPreferredSize() { Dimension d = super.getPreferredSize(); return d; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
JRootPane getRootPane() { if (rootPane == null) setRootPane(createRootPane()); return rootPane; } | JRootPane getRootPane() { if (rootPane == null) setRootPane(createRootPane()); return rootPane; } | JRootPane getRootPane() { if (rootPane == null) setRootPane(createRootPane()); return rootPane; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
protected boolean isRootPaneCheckingEnabled() { return checking; } | protected boolean isRootPaneCheckingEnabled() { return checking; } | protected boolean isRootPaneCheckingEnabled() { return checking; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
protected String paramString() { return "JFrame"; } | protected String paramString() { return "JFrame"; } | protected String paramString() { return "JFrame"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
protected void processKeyEvent(KeyEvent e) { super.processKeyEvent(e); } | protected void processKeyEvent(KeyEvent e) { super.processKeyEvent(e); } | protected void processKeyEvent(KeyEvent e) { super.processKeyEvent(e); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
protected void processWindowEvent(WindowEvent e) { super.processWindowEvent(e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : { System.out.println("user requested exit on close"); System.exit(1); break; } case DISPOSE_ON_CLOSE : { System.out.println("user reques... | protected void processWindowEvent(WindowEvent e) { super.processWindowEvent(e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING: { switch(close_action) { case EXIT_ON_CLOSE: { System.exit(1); | protected void processWindowEvent(WindowEvent e) { // System.out.println("PROCESS_WIN_EV-1: " + e); super.processWindowEvent(e); // System.out.println("PROCESS_WIN_EV-2: " + e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : { System... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
} | case WindowEvent.WINDOW_CLOSED: case WindowEvent.WINDOW_OPENED: case WindowEvent.WINDOW_ICONIFIED: case WindowEvent.WINDOW_DEICONIFIED: case WindowEvent.WINDOW_ACTIVATED: case WindowEvent.WINDOW_DEACTIVATED: break; } } | protected void processWindowEvent(WindowEvent e) { // System.out.println("PROCESS_WIN_EV-1: " + e); super.processWindowEvent(e); // System.out.println("PROCESS_WIN_EV-2: " + e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : { System... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
public void remove(Component comp) { getContentPane().remove(comp); } | public void remove(Component comp) { getContentPane().remove(comp); } | public void remove(Component comp) { getContentPane().remove(comp); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
public void setContentPane(Container contentPane) { getRootPane().setContentPane(contentPane); } | public void setContentPane(Container contentPane) { getRootPane().setContentPane(contentPane); } | public void setContentPane(Container contentPane) { getRootPane().setContentPane(contentPane); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
public void setDefaultCloseOperation(int operation) { close_action = operation; } | public void setDefaultCloseOperation(int operation) { close_action = operation; } | public void setDefaultCloseOperation(int operation) { close_action = operation; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
public void setGlassPane(Component glassPane) { getRootPane().setGlassPane(glassPane); } | void setGlassPane(Component glassPane) { getRootPane().setGlassPane(glassPane); } | public void setGlassPane(Component glassPane) { getRootPane().setGlassPane(glassPane); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
void setJMenuBar(JMenuBar menubar) { getRootPane().setJMenuBar(menubar); } | void setJMenuBar(JMenuBar menubar) { getRootPane().setJMenuBar(menubar); } | void setJMenuBar(JMenuBar menubar) { getRootPane().setJMenuBar(menubar); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
void setLayeredPane(JLayeredPane layeredPane) { getRootPane().setLayeredPane(layeredPane); } | void setLayeredPane(JLayeredPane layeredPane) { getRootPane().setLayeredPane(layeredPane); } | void setLayeredPane(JLayeredPane layeredPane) { getRootPane().setLayeredPane(layeredPane); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
public void setLayout(LayoutManager manager) { super.setLayout(manager); } | public void setLayout(LayoutManager manager) { super.setLayout(manager); } | public void setLayout(LayoutManager manager) { super.setLayout(manager); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
void setRootPane(JRootPane root) { if (rootPane != null) remove(rootPane); rootPane = root; add(rootPane, BorderLayout.CENTER); } | void setRootPane(JRootPane root) { if (rootPane != null) remove(rootPane); rootPane = root; add(rootPane, BorderLayout.CENTER); } | 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/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
protected void setRootPaneCheckingEnabled(boolean enabled) { checking = enabled; } | protected void setRootPaneCheckingEnabled(boolean enabled) { checking = enabled; } | protected void setRootPaneCheckingEnabled(boolean enabled) { checking = enabled; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
public void update(Graphics g) { paint(g); } | public void update(Graphics g) { paint(g); } | public void update(Graphics g) { paint(g); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
if (SwingLabelPeer.this.awtComponent != null) retVal = SwingLabelPeer.this.awtComponent.isShowing(); | if (label != null) retVal = label.isShowing(); | public boolean isShowing() { boolean retVal = false; if (SwingLabelPeer.this.awtComponent != null) retVal = SwingLabelPeer.this.awtComponent.isShowing(); return retVal; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingLabelPeer.java/buggy/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingLabelPeer.java |
SwingLabel swingLabel = new SwingLabel(); | SwingLabel swingLabel = new SwingLabel(label); | public SwingLabelPeer(Label label) { super(); SwingLabel swingLabel = new SwingLabel(); swingLabel.setText(label.getText()); swingLabel.setHorizontalAlignment(label.getAlignment()); swingLabel.setOpaque(true); init(label, swingLabel); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingLabelPeer.java/buggy/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingLabelPeer.java |
swingLabel.setHorizontalAlignment(label.getAlignment()); | public SwingLabelPeer(Label label) { super(); SwingLabel swingLabel = new SwingLabel(); swingLabel.setText(label.getText()); swingLabel.setHorizontalAlignment(label.getAlignment()); swingLabel.setOpaque(true); init(label, swingLabel); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingLabelPeer.java/buggy/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingLabelPeer.java | |
setAlignment(label.getAlignment()); | public SwingLabelPeer(Label label) { super(); SwingLabel swingLabel = new SwingLabel(); swingLabel.setText(label.getText()); swingLabel.setHorizontalAlignment(label.getAlignment()); swingLabel.setOpaque(true); init(label, swingLabel); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingLabelPeer.java/buggy/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingLabelPeer.java | |
((JLabel) swingComponent.getJComponent()).setHorizontalAlignment(alignment); | JLabel swingLabel = (JLabel) swingComponent.getJComponent(); switch (alignment) { case Label.RIGHT: swingLabel.setHorizontalAlignment(JLabel.RIGHT); break; case Label.CENTER: swingLabel.setHorizontalAlignment(JLabel.CENTER); break; case Label.LEFT: default: swingLabel.setHorizontalAlignment(JLabel.LEFT); break; } | public void setAlignment(int alignment) { ((JLabel) swingComponent.getJComponent()).setHorizontalAlignment(alignment); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingLabelPeer.java/buggy/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingLabelPeer.java |
getName() { return(name); } | protected String getName() { return name; } | getName(){ return(name);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/AttributedCharacterIterator.java/buggy/core/src/classpath/java/java/text/AttributedCharacterIterator.java |
int columnIndex; | public void setDataVector(Vector data, Vector columnNames) { // Variables int rowIndex; int columnIndex; int numRows; int numColumns; Vector columnVector; // Set Data dataVector = data; columnIdentifiers = columnNames; // Check Data numRows = data.size(); numColumns = columnNames.size(); for (rowIndex = 0... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultTableModel.java/buggy/core/src/classpath/javax/javax/swing/table/DefaultTableModel.java | |
{ | { | public void paintIcon(Component c, Graphics g, int x, int y) { // The icon is empty and needs no painting. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java |
return 12; | return 8; | public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new P... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java |
public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new P... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java | ||
return 12; | return 4; | public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new P... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java |
public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new P... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java | ||
g.translate(x, y); | public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new P... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java | |
public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new P... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java | ||
g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); | for (int i = 0; i < 4; i++) g.drawLine(x + i, y + i, x + i, y + 7 - i); | public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new P... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java |
g.translate(-x, -y); | public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new P... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java | |
return 12; | return 8; | public int getIconHeight() { return 12; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java |
return 12; | return 4; | public int getIconWidth() { return 12; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java |
g.translate(x, y); | public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.transla... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java | |
public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.transla... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java | ||
g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); | for (int i = 0; i < 4; i++) g.drawLine(x + i, y + i, x + i, y + 7 - i); | public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.transla... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java |
g.translate(-x, -y); | public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.transla... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java | |
} | } | public static Icon getRadioButtonIcon() { if (radioButtonIcon == null) radioButtonIcon = new RadioButtonIcon(); return radioButtonIcon; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java |
if (!i.hasNext()) { return null; } | public String getHeaderFieldKey(int index) { if (!connected) { try { connect(); } catch (IOException e) { return null; } } if (index == 0) { return null; } Iterator i = response.getHeaders().entrySet().iterato... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/HTTPURLConnection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPURLConnection.java | |
ExplicitInfo(Class beanClass, Class stopClass) { while(beanClass != null && !beanClass.equals(stopClass)) { BeanInfo explicit = findExplicitBeanInfo(beanClass); if(explicit != null) { if(explicitBeanDescriptor == null) { explicitBeanDescriptor = explicit.getBeanDescriptor(); } if(e... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/Introspector.java/buggy/core/src/classpath/java/java/beans/Introspector.java | ||
if (beanInfo != null) | if (beanInfo != null && beanInfo.getBeanDescriptor() != null && beanInfo.getBeanDescriptor().getBeanClass() == beanClass) | static BeanInfo reallyFindExplicitBeanInfo(Class beanClass) { ClassLoader beanClassLoader = beanClass.getClassLoader(); BeanInfo beanInfo; beanInfo = getBeanInfo(beanClassLoader, beanClass.getName() + "BeanInfo"); if (beanInfo == null) { String newName; newName = ClassHelper.getTruncatedClassName(b... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/Introspector.java/buggy/core/src/classpath/java/java/beans/Introspector.java |
b.getMethodDescriptors(),icons); | b.getMethodDescriptors(), icons); | static BeanInfo copyBeanInfo(BeanInfo b) { java.awt.Image[] icons = new java.awt.Image[4]; for(int i=1;i<=4;i++) { icons[i-1] = b.getIcon(i); } return new ExplicitBeanInfo(b.getBeanDescriptor(), b.getAdditionalBeanInfo(), b.getPropertyDescriptors(), b.getDefaultPropertyIndex(), b.get... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/Introspector.java/buggy/core/src/classpath/java/java/beans/Introspector.java |
ExplicitInfo.flushCaches(); | public static void flushCaches() { beanInfoCache.clear(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/Introspector.java/buggy/core/src/classpath/java/java/beans/Introspector.java | |
b.setOpaque(true); | protected void installDefaults(AbstractButton b) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); b.setForeground(defaults.getColor("Button.foreground")); b.setBackground(defaults.getColor("Button.background")); b.setMargin(defaults.getInsets("Button.margin")); b.setBorder(defaults.getBorde... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicButtonUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicButtonUI.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.