rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
return 0;
return 0;
public int getIndexAtPoint(Point value0) { return 0; // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
return null;
return null;
public String getSelectedText() { return null; // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
return 0;
return 0;
public int getSelectionEnd() { return 0; // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
return 0;
return 0;
public int getSelectionStart() { return 0; // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
public void insertUpdate(DocumentEvent value0) { // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
public void removeUpdate(DocumentEvent value0) { // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
stop();
stop();
public void update() { stop(); Caret c = caret; if (c != null) { setDelay(c.getBlinkRate()); if (editable) start(); else c.setVisible(false); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
if (editable) start(); else
if (editable) start(); else
public void update() { stop(); Caret c = caret; if (c != null) { setDelay(c.getBlinkRate()); if (editable) start(); else c.setVisible(false); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public JTextComponent() { Keymap defkeymap = getKeymap(DEFAULT_KEYMAP); boolean creatingKeymap = false; if (defkeymap == null) { defkeymap = addKeymap(DEFAULT_KEYMAP, null); defkeymap.setDefaultAction(new DefaultEditorKit.DefaultKeyTypedAction()); creatingKeymap = true; } caretBlinkTimer = new CaretBlinkTimer(); setFocusable(true); setEditable(true); enableEvents(AWTEvent.KEY_EVENT_MASK); updateUI(); // need to do this after updateUI() if (creatingKeymap) loadKeymap(defkeymap, new KeyBinding[] { new KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0), DefaultEditorKit.backwardAction), new KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0), DefaultEditorKit.forwardAction), new KeyBinding(KeyStroke.getKeyStroke("typed \b"), DefaultEditorKit.deletePrevCharAction), new KeyBinding(KeyStroke.getKeyStroke("typed \u007f"), DefaultEditorKit.deleteNextCharAction) }, getActions()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
enableEvents(AWTEvent.KEY_EVENT_MASK); updateUI();
enableEvents(AWTEvent.KEY_EVENT_MASK); updateUI();
public JTextComponent() { Keymap defkeymap = getKeymap(DEFAULT_KEYMAP); boolean creatingKeymap = false; if (defkeymap == null) { defkeymap = addKeymap(DEFAULT_KEYMAP, null); defkeymap.setDefaultAction(new DefaultEditorKit.DefaultKeyTypedAction()); creatingKeymap = true; } caretBlinkTimer = new CaretBlinkTimer(); setFocusable(true); setEditable(true); enableEvents(AWTEvent.KEY_EVENT_MASK); updateUI(); // need to do this after updateUI() if (creatingKeymap) loadKeymap(defkeymap, new KeyBinding[] { new KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0), DefaultEditorKit.backwardAction), new KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0), DefaultEditorKit.forwardAction), new KeyBinding(KeyStroke.getKeyStroke("typed \b"), DefaultEditorKit.deletePrevCharAction), new KeyBinding(KeyStroke.getKeyStroke("typed \u007f"), DefaultEditorKit.deleteNextCharAction) }, getActions()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{ return null; }
{ return null; }
public AccessibleContext getAccessibleContext() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public int getCaretPosition() { return caret.getDot(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public int getCaretPosition() { return caret.getDot(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{ return doc; }
{ return doc; }
public Document getDocument() { return doc; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public Insets getMargin() { return margin; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public Insets getMargin() { return margin; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public Dimension getPreferredScrollableViewportSize() { return getPreferredSize(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public Dimension getPreferredScrollableViewportSize() { return getPreferredSize(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public int getScrollableBlockIncrement(Rectangle visible, int orientation, int direction) { // We return the whole visible area as documented in Sun's API docs. if (orientation == SwingConstants.HORIZONTAL) return visible.width; else if (orientation == SwingConstants.VERTICAL) return visible.height; else throw new IllegalArgumentException("orientation must be either " + "javax.swing.SwingConstants.VERTICAL " + "or " + "javax.swing.SwingConstants.HORIZONTAL" ); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public int getScrollableBlockIncrement(Rectangle visible, int orientation, int direction) { // We return the whole visible area as documented in Sun's API docs. if (orientation == SwingConstants.HORIZONTAL) return visible.width; else if (orientation == SwingConstants.VERTICAL) return visible.height; else throw new IllegalArgumentException("orientation must be either " + "javax.swing.SwingConstants.VERTICAL " + "or " + "javax.swing.SwingConstants.HORIZONTAL" ); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public boolean getScrollableTracksViewportHeight() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getHeight() > getPreferredSize().height; return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public boolean getScrollableTracksViewportWidth() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getWidth() > getPreferredSize().width; return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public boolean getScrollableTracksViewportWidth() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getWidth() > getPreferredSize().width; return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public int getScrollableUnitIncrement(Rectangle visible, int orientation, int direction) { // We return 1/10 of the visible area as documented in Sun's API docs. if (orientation == SwingConstants.HORIZONTAL) return visible.width / 10; else if (orientation == SwingConstants.VERTICAL) return visible.height / 10; else throw new IllegalArgumentException("orientation must be either " + "javax.swing.SwingConstants.VERTICAL " + "or " + "javax.swing.SwingConstants.HORIZONTAL" ); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public int getScrollableUnitIncrement(Rectangle visible, int orientation, int direction) { // We return 1/10 of the visible area as documented in Sun's API docs. if (orientation == SwingConstants.HORIZONTAL) return visible.width / 10; else if (orientation == SwingConstants.VERTICAL) return visible.height / 10; else throw new IllegalArgumentException("orientation must be either " + "javax.swing.SwingConstants.VERTICAL " + "or " + "javax.swing.SwingConstants.HORIZONTAL" ); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public int getSelectionEnd() { return Math.max(caret.getDot(), caret.getMark()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public int getSelectionEnd() { return Math.max(caret.getDot(), caret.getMark()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public int getSelectionStart() { return Math.min(caret.getDot(), caret.getMark()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public int getSelectionStart() { return Math.min(caret.getDot(), caret.getMark()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public TextUI getUI() { return (TextUI) ui; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public String getUIClassID() { return "TextComponentUI"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public String getUIClassID() { return "TextComponentUI"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public void moveCaretPosition(int position) { if (doc == null) return; if (position < 0 || position > doc.getLength()) throw new IllegalArgumentException(); caret.moveDot(position); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public void moveCaretPosition(int position) { if (doc == null) return; if (position < 0 || position > doc.getLength()) throw new IllegalArgumentException(); caret.moveDot(position); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{ return "JTextComponent"; }
{ return super.paramString(); }
protected String paramString() { return "JTextComponent"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public void select(int start, int end) { int length = doc.getLength(); start = Math.max(start, 0); start = Math.min(start, length); end = Math.max(end, 0); end = Math.min(end, length); setCaretPosition(start); moveCaretPosition(end); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public void select(int start, int end) { int length = doc.getLength(); start = Math.max(start, 0); start = Math.min(start, length); end = Math.max(end, 0); end = Math.min(end, length); setCaretPosition(start); moveCaretPosition(end); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public void selectAll() { select(0, doc.getLength()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public void selectAll() { select(0, doc.getLength()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public void setCaretPosition(int position) { if (doc == null) return; if (position < 0 || position > doc.getLength()) throw new IllegalArgumentException(); caret.setDot(position); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public void setCaretPosition(int position) { if (doc == null) return; if (position < 0 || position > doc.getLength()) throw new IllegalArgumentException(); caret.setDot(position); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
revalidate(); repaint(); }
revalidate(); repaint(); }
public void setDocument(Document newDoc) { Document oldDoc = doc; doc = newDoc; firePropertyChange("document", oldDoc, newDoc); revalidate(); repaint(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public void setEditable(boolean newValue) { if (editable == newValue) return; if (newValue == true) caretBlinkTimer.start(); else { caretBlinkTimer.stop(); caret.setVisible(false); } boolean oldValue = editable; editable = newValue; firePropertyChange("editable", oldValue, newValue); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public void setEditable(boolean newValue) { if (editable == newValue) return; if (newValue == true) caretBlinkTimer.start(); else { caretBlinkTimer.stop(); caret.setVisible(false); } boolean oldValue = editable; editable = newValue; firePropertyChange("editable", oldValue, newValue); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public void setSelectionEnd(int end) { select(getSelectionStart(), end); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public void setSelectionEnd(int end) { select(getSelectionStart(), end); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public void setSelectionStart(int start) { select(start, getSelectionEnd()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public void setSelectionStart(int start) { select(start, getSelectionEnd()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.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/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.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/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.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/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.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/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.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/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public void setUI(TextUI newUI) { super.setUI(newUI); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
{
{
public void updateUI() { setUI((TextUI) UIManager.getUI(this)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
}
}
public void updateUI() { setUI((TextUI) UIManager.getUI(this)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
public synchronized void setContents(Transferable contents, ClipboardOwner owner)
public synchronized void setContents(Transferable contents, ClipboardOwner owner)
public synchronized void setContents(Transferable contents, ClipboardOwner owner) { if (this.owner != owner) if (this.owner != null) this.owner.lostOwnership(this, contents); this.owner = owner; this.contents = contents; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/Clipboard.java/buggy/core/src/classpath/java/java/awt/datatransfer/Clipboard.java
if (this.owner != null) this.owner.lostOwnership(this, contents);
{ ClipboardOwner oldOwner = this.owner;
public synchronized void setContents(Transferable contents, ClipboardOwner owner) { if (this.owner != owner) if (this.owner != null) this.owner.lostOwnership(this, contents); this.owner = owner; this.contents = contents; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/Clipboard.java/buggy/core/src/classpath/java/java/awt/datatransfer/Clipboard.java
this.contents = contents;
if (oldOwner != null) oldOwner.lostOwnership(this, oldContents); } FlavorListener[] fs = getFlavorListeners(); if (fs.length > 0) { boolean newFlavors = ((contents != null && oldContents == null) || (contents == null && oldContents != null)); if (!newFlavors && contents != null && oldContents != null) { DataFlavor[] df1 = contents.getTransferDataFlavors(); DataFlavor[] df2 = oldContents.getTransferDataFlavors(); newFlavors = df1.length != df2.length; for (int i = 0; !newFlavors && i < df1.length; i++) newFlavors = !df1[i].equals(df2[i]); } if (newFlavors) { FlavorEvent e = new FlavorEvent(this); for (int i = 0; i < fs.length; i++) fs[i].flavorsChanged(e); } }
public synchronized void setContents(Transferable contents, ClipboardOwner owner) { if (this.owner != owner) if (this.owner != null) this.owner.lostOwnership(this, contents); this.owner = owner; this.contents = contents; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/Clipboard.java/buggy/core/src/classpath/java/java/awt/datatransfer/Clipboard.java
this.isFocusTraversableOverridden = 1;
public void setFocusable(boolean focusable) { firePropertyChange("focusable", this.focusable, focusable); this.focusable = focusable; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/566e4ab93ebc97794094572536829e581d565b11/Component.java/buggy/core/src/classpath/java/java/awt/Component.java
public static KeyStroke getKeyStroke(int keyCode, int modifiers)
public static KeyStroke getKeyStroke(char keyChar)
public static KeyStroke getKeyStroke(int keyCode, int modifiers) { return (KeyStroke) getAWTKeyStroke(keyCode, modifiers); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/KeyStroke.java/buggy/core/src/classpath/javax/javax/swing/KeyStroke.java
return (KeyStroke) getAWTKeyStroke(keyCode, modifiers);
return (KeyStroke) getAWTKeyStroke(keyChar);
public static KeyStroke getKeyStroke(int keyCode, int modifiers) { return (KeyStroke) getAWTKeyStroke(keyCode, modifiers); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/KeyStroke.java/buggy/core/src/classpath/javax/javax/swing/KeyStroke.java
return preferredSize;
prefSize = preferredSize;
public Dimension getPreferredSize() { if (preferredSize != null) return preferredSize; if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) return s; } Dimension p = super.getPreferredSize(); return p; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java
return s;
prefSize = s;
public Dimension getPreferredSize() { if (preferredSize != null) return preferredSize; if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) return s; } Dimension p = super.getPreferredSize(); return p; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java
Dimension p = super.getPreferredSize(); return p;
if (prefSize == null) prefSize = super.getPreferredSize(); if (minimumSize != null && prefSize != null && (minimumSize.width > prefSize.width || minimumSize.height > prefSize.height)) prefSize = new Dimension(Math.max(minimumSize.width, prefSize.width), Math.max(minimumSize.height, prefSize.height)); return prefSize;
public Dimension getPreferredSize() { if (preferredSize != null) return preferredSize; if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) return s; } Dimension p = super.getPreferredSize(); return p; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java
int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction);
int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction);
int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/Scrollable.java/buggy/core/src/classpath/javax/javax/swing/Scrollable.java
int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction);
int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction);
int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/Scrollable.java/buggy/core/src/classpath/javax/javax/swing/Scrollable.java
public static int min(int a, int b) {
public static int min(int a, int b) {
public static int min(int a, int b) { return (a < b) ? a : b; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0bfec329053442bf284a75378b15938abd962e63/Math.java/buggy/core/src/classpath/java/java/lang/Math.java
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { if (changeSupport != null) changeSupport.firePropertyChange(propertyName, oldValue, newValue); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java
changeSupport.firePropertyChange(propertyName, oldValue, newValue);
changeSupport.firePropertyChange(propertyName, Boolean.valueOf(oldValue), Boolean.valueOf(newValue));
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { if (changeSupport != null) changeSupport.firePropertyChange(propertyName, oldValue, newValue); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java
public InheritableThreadLocal() {
public InheritableThreadLocal() {
public InheritableThreadLocal() { Thread currentThread = Thread.currentThread(); // Note that we don't have to synchronize, as only this thread will // ever modify the returned heritage. List heritage = (List)threadMap.get(currentThread); if (heritage == null) { heritage = new ArrayList(); threadMap.put(currentThread, heritage); } heritage.add(this); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/InheritableThreadLocal.java/clean/core/src/classpath/java/java/lang/InheritableThreadLocal.java
List heritage = (List)threadMap.get(currentThread); if (heritage == null) {
List heritage = (List) threadMap.get(currentThread); if (heritage == null) {
public InheritableThreadLocal() { Thread currentThread = Thread.currentThread(); // Note that we don't have to synchronize, as only this thread will // ever modify the returned heritage. List heritage = (List)threadMap.get(currentThread); if (heritage == null) { heritage = new ArrayList(); threadMap.put(currentThread, heritage); } heritage.add(this); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/InheritableThreadLocal.java/clean/core/src/classpath/java/java/lang/InheritableThreadLocal.java
protected Object childValue(Object parentValue) {
protected Object childValue(Object parentValue) {
protected Object childValue(Object parentValue) { return parentValue; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/InheritableThreadLocal.java/clean/core/src/classpath/java/java/lang/InheritableThreadLocal.java
static void newChildThread(Thread childThread) {
static void newChildThread(Thread childThread) {
static void newChildThread(Thread childThread) { // The currentThread is the parent of the new thread. Thread parentThread = Thread.currentThread(); // Note that we don't have to synchronize, as only this thread will // ever modify the returned heritage. ArrayList heritage = (ArrayList)threadMap.get(parentThread); if (heritage != null) { threadMap.put(childThread, heritage.clone()); // Perform the inheritance. Iterator it = heritage.iterator(); int i = heritage.size(); while (--i >= 0) { InheritableThreadLocal local = (InheritableThreadLocal)it.next(); Object parentValue = local.valueMap.get(parentThread); if (parentValue != null) { Object childValue = local.childValue(parentValue == NULL ? null : parentValue); local.valueMap.put(childThread, (childValue == null ? NULL : parentValue)); } } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/InheritableThreadLocal.java/clean/core/src/classpath/java/java/lang/InheritableThreadLocal.java
ArrayList heritage = (ArrayList)threadMap.get(parentThread); if (heritage != null) {
ArrayList heritage = (ArrayList) threadMap.get(parentThread); if (heritage != null) {
static void newChildThread(Thread childThread) { // The currentThread is the parent of the new thread. Thread parentThread = Thread.currentThread(); // Note that we don't have to synchronize, as only this thread will // ever modify the returned heritage. ArrayList heritage = (ArrayList)threadMap.get(parentThread); if (heritage != null) { threadMap.put(childThread, heritage.clone()); // Perform the inheritance. Iterator it = heritage.iterator(); int i = heritage.size(); while (--i >= 0) { InheritableThreadLocal local = (InheritableThreadLocal)it.next(); Object parentValue = local.valueMap.get(parentThread); if (parentValue != null) { Object childValue = local.childValue(parentValue == NULL ? null : parentValue); local.valueMap.put(childThread, (childValue == null ? NULL : parentValue)); } } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/InheritableThreadLocal.java/clean/core/src/classpath/java/java/lang/InheritableThreadLocal.java
while (--i >= 0) { InheritableThreadLocal local = (InheritableThreadLocal)it.next();
while (--i >= 0) { InheritableThreadLocal local = (InheritableThreadLocal) it.next();
static void newChildThread(Thread childThread) { // The currentThread is the parent of the new thread. Thread parentThread = Thread.currentThread(); // Note that we don't have to synchronize, as only this thread will // ever modify the returned heritage. ArrayList heritage = (ArrayList)threadMap.get(parentThread); if (heritage != null) { threadMap.put(childThread, heritage.clone()); // Perform the inheritance. Iterator it = heritage.iterator(); int i = heritage.size(); while (--i >= 0) { InheritableThreadLocal local = (InheritableThreadLocal)it.next(); Object parentValue = local.valueMap.get(parentThread); if (parentValue != null) { Object childValue = local.childValue(parentValue == NULL ? null : parentValue); local.valueMap.put(childThread, (childValue == null ? NULL : parentValue)); } } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/InheritableThreadLocal.java/clean/core/src/classpath/java/java/lang/InheritableThreadLocal.java
if (parentValue != null) { Object childValue = local.childValue(parentValue == NULL ? null : parentValue); local.valueMap.put(childThread, (childValue == null ? NULL : parentValue));
if (parentValue != null) { Object childValue = local.childValue(parentValue == NULL ? null : parentValue); local.valueMap.put(childThread, (childValue == null ? NULL : parentValue));
static void newChildThread(Thread childThread) { // The currentThread is the parent of the new thread. Thread parentThread = Thread.currentThread(); // Note that we don't have to synchronize, as only this thread will // ever modify the returned heritage. ArrayList heritage = (ArrayList)threadMap.get(parentThread); if (heritage != null) { threadMap.put(childThread, heritage.clone()); // Perform the inheritance. Iterator it = heritage.iterator(); int i = heritage.size(); while (--i >= 0) { InheritableThreadLocal local = (InheritableThreadLocal)it.next(); Object parentValue = local.valueMap.get(parentThread); if (parentValue != null) { Object childValue = local.childValue(parentValue == NULL ? null : parentValue); local.valueMap.put(childThread, (childValue == null ? NULL : parentValue)); } } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/InheritableThreadLocal.java/clean/core/src/classpath/java/java/lang/InheritableThreadLocal.java
}
}
public void mousePressed(MouseEvent e) { if (! toolBar.isFloatable()) return; Point ssd = e.getPoint(); Insets insets = toolBar.getInsets(); // Verify that this click occurs in the top inset. if (toolBar.getOrientation() == SwingConstants.HORIZONTAL) { if (e.getX() > insets.left) return; } else { if (e.getY() > insets.top) return; } origin = new Point(0, 0); SwingUtilities.convertPointToScreen(ssd, toolBar); if (! (SwingUtilities.getAncestorOfClass(Window.class, toolBar) instanceof UIResource)) // Need to know who keeps the toolBar if it gets dragged back into it. origParent = toolBar.getParent(); SwingUtilities.convertPointToScreen(origin, toolBar); isDragging = true; if (dragWindow != null) dragWindow.setOffset(new Point(e.getX(), e.getY())); dragTo(e.getPoint(), origin); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
SwingUtilities.convertPointToScreen(ssd, toolBar);
if (toolBar.isShowing()) SwingUtilities.convertPointToScreen(ssd, toolBar);
public void mousePressed(MouseEvent e) { if (! toolBar.isFloatable()) return; Point ssd = e.getPoint(); Insets insets = toolBar.getInsets(); // Verify that this click occurs in the top inset. if (toolBar.getOrientation() == SwingConstants.HORIZONTAL) { if (e.getX() > insets.left) return; } else { if (e.getY() > insets.top) return; } origin = new Point(0, 0); SwingUtilities.convertPointToScreen(ssd, toolBar); if (! (SwingUtilities.getAncestorOfClass(Window.class, toolBar) instanceof UIResource)) // Need to know who keeps the toolBar if it gets dragged back into it. origParent = toolBar.getParent(); SwingUtilities.convertPointToScreen(origin, toolBar); isDragging = true; if (dragWindow != null) dragWindow.setOffset(new Point(e.getX(), e.getY())); dragTo(e.getPoint(), origin); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
SwingUtilities.convertPointToScreen(origin, toolBar);
if (toolBar.isShowing()) SwingUtilities.convertPointToScreen(origin, toolBar);
public void mousePressed(MouseEvent e) { if (! toolBar.isFloatable()) return; Point ssd = e.getPoint(); Insets insets = toolBar.getInsets(); // Verify that this click occurs in the top inset. if (toolBar.getOrientation() == SwingConstants.HORIZONTAL) { if (e.getX() > insets.left) return; } else { if (e.getY() > insets.top) return; } origin = new Point(0, 0); SwingUtilities.convertPointToScreen(ssd, toolBar); if (! (SwingUtilities.getAncestorOfClass(Window.class, toolBar) instanceof UIResource)) // Need to know who keeps the toolBar if it gets dragged back into it. origParent = toolBar.getParent(); SwingUtilities.convertPointToScreen(origin, toolBar); isDragging = true; if (dragWindow != null) dragWindow.setOffset(new Point(e.getX(), e.getY())); dragTo(e.getPoint(), origin); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
{
{
public BasicToolBarUI() { // Do nothing here. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
}
}
public BasicToolBarUI() { // Do nothing here. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
{
{
public boolean canDock(Component c, Point p) { return areaOfClick(c, p) != -1; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
}
}
public boolean canDock(Component c, Point p) { return areaOfClick(c, p) != -1; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
{
{
protected MouseInputListener createDockingListener() { return new DockingListener(toolBar); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
}
}
protected MouseInputListener createDockingListener() { return new DockingListener(toolBar); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
{
{
protected BasicToolBarUI.DragWindow createDragWindow(JToolBar toolbar) { return new DragWindow(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
}
}
protected BasicToolBarUI.DragWindow createDragWindow(JToolBar toolbar) { return new DragWindow(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
{
{
protected JFrame createFloatingFrame(JToolBar toolbar) { // FIXME: Though deprecated, this should still work. return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
return null; }
return null; }
protected JFrame createFloatingFrame(JToolBar toolbar) { // FIXME: Though deprecated, this should still work. return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
{
{
protected RootPaneContainer createFloatingWindow(JToolBar toolbar) { // This one is used by default though. return new ToolBarDialog(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
}
}
protected RootPaneContainer createFloatingWindow(JToolBar toolbar) { // This one is used by default though. return new ToolBarDialog(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
{
{
protected WindowListener createFrameListener() { return new FrameListener(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
}
}
protected WindowListener createFrameListener() { return new FrameListener(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
{
{
protected Border createNonRolloverBorder() { return new EtchedBorderUIResource(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
}
}
protected Border createNonRolloverBorder() { return new EtchedBorderUIResource(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
{
{
protected PropertyChangeListener createPropertyListener() { return new PropertyListener(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
}
}
protected PropertyChangeListener createPropertyListener() { return new PropertyListener(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
{
{
protected Border createRolloverBorder() { return new EtchedBorderUIResource() { public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { if (c instanceof JButton) { if (((JButton) c).getModel().isRollover()) super.paintBorder(c, g, x, y, width, height); } } }; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
}
}
protected Border createRolloverBorder() { return new EtchedBorderUIResource() { public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { if (c instanceof JButton) { if (((JButton) c).getModel().isRollover()) super.paintBorder(c, g, x, y, width, height); } } }; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java