rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
if (splitPane.isOneTouchExpandable()) { leftButton = createLeftOneTouchButton(); rightButton = createRightOneTouchButton(); add(leftButton); add(rightButton); leftButton.addMouseListener(mouseHandler); rightButton.addMouseListener(mouseHandler); currentDividerLocation = 1;
protected void oneTouchExpandableChanged() { // FIXME: Not yet implemented. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicSplitPaneDivider.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneDivider.java
else { if (leftButton != null && rightButton != null) { leftButton.removeMouseListener(mouseHandler); rightButton.removeMouseListener(mouseHandler); remove(leftButton); remove(rightButton); leftButton = null; rightButton = null; } } layout(); repaint(); }
protected void oneTouchExpandableChanged() { // FIXME: Not yet implemented. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicSplitPaneDivider.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneDivider.java
public void paint(Graphics g) { Dimension dividerSize; super.paint(g); if (border != null) { dividerSize = getSize(); border.paintBorder(this, g, 0, 0, dividerSize.width, dividerSize.height); //System.out.println(dividerSize); //g.setColor(java.awt.Color.white); //g.drawRect(0, 0...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicSplitPaneDivider.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneDivider.java
if (e.getPropertyName().equals(JSplitPane.ONE_TOUCH_EXPANDABLE_PROPERTY)) oneTouchExpandableChanged(); else if (e.getPropertyName().equals(JSplitPane.ORIENTATION_PROPERTY)) { orientation = splitPane.getOrientation(); if (splitPane.isOneTouchExpandable()) { layout(); repaint(); } } else if (e.getPropertyName().equals(JS...
public void propertyChange(PropertyChangeEvent e) { // FIXME: Not yet implemented. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicSplitPaneDivider.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneDivider.java
oneTouchExpandableChanged();
public void setBasicSplitPaneUI(BasicSplitPaneUI newUI) { /* Remove the connection to the existing JSplitPane. */ if (splitPane != null) { splitPane.removePropertyChangeListener(this); splitPane.removeMouseListener(mouseHandler); splitPane.removeMouseMotionListener(mouseHandler); splitPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicSplitPaneDivider.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneDivider.java
}
public void setBorder(Border border) { Border oldValue = this.border; this.border = border; firePropertyChange("border", oldValue, border); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicSplitPaneDivider.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneDivider.java
}
public void setMinimumSize(Dimension min) { Dimension oldMinimumSize = minimumSize; minimumSize = min; firePropertyChange("minimumSize", oldMinimumSize, minimumSize); revalidate(); repaint(); // adjust preferred and maximum size accordingly Dimension prefSize = getPreferredSize(); prefSize.width =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1edc4cba009ff2c639001f1fd1842c4da4b86249/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java
iter = null;
public SentenceBreakIterator () { iter = null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6eea50e4f45fc1e9b76dc95d038701964d726fcd/SentenceBreakIterator.java/clean/core/src/classpath/gnu/gnu/java/text/SentenceBreakIterator.java
public Beans() { // Do nothing here. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
public static Object instantiate (ClassLoader cl, String beanName)
public static Object instantiate(ClassLoader cl, String beanName)
public static Object instantiate (ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean; InputStream serStream; if (cl == null) { serStream = ClassLoader.getSystemResourceAsStream (beanName.replace ('.','/')+".ser"); } else { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
Object bean; InputStream serStream; if (cl == null) { serStream = ClassLoader.getSystemResourceAsStream (beanName.replace ('.','/')+".ser"); } else { serStream = cl.getResourceAsStream (beanName.replace ('.', '/') + ".ser"); } if (serStream != null) { if(cl == null) { ObjectInputStream ois = new ObjectInputStream(ser...
return instantiate(cl, beanName, null, null); }
public static Object instantiate (ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean; InputStream serStream; if (cl == null) { serStream = ClassLoader.getSystemResourceAsStream (beanName.replace ('.','/')+".ser"); } else { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
throw new IllegalArgumentException("path must have non-zero length");
path = "/";
public Request newRequest(String method, String path) { if (method == null || method.length() == 0) { throw new IllegalArgumentException("method must have non-zero length"); } if (path == null || path.length() == 0) { throw new IllegalArgumentException("path must have non-zero leng...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3fecc4797b433a10203c51309b9d8626f7783895/HTTPConnection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPConnection.java
}
public Request newRequest(String method, String path) { if (method == null || method.length() == 0) { throw new IllegalArgumentException("method must have non-zero length"); } if (path == null || path.length() == 0) { throw new IllegalArgumentException("path must have non-zero leng...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3fecc4797b433a10203c51309b9d8626f7783895/HTTPConnection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPConnection.java
return (int) mnemonicKey;
return mnemonicKey;
public int getMnemonic() { return (int) mnemonicKey; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/JTabbedPane.java/buggy/core/src/classpath/javax/javax/swing/JTabbedPane.java
AffineTransform xform, RenderingHints hints) throws NotImplementedException
AffineTransform xform, RenderingHints hints)
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) throws NotImplementedException { throw new Error("not implemente...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/TexturePaint.java/clean/core/src/classpath/java/java/awt/TexturePaint.java
throw new Error("not implemented");
return new TexturePaintContext(this, deviceBounds, userBounds, xform);
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) throws NotImplementedException { throw new Error("not implemente...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/TexturePaint.java/clean/core/src/classpath/java/java/awt/TexturePaint.java
throws NotImplementedException
public int getTransparency() throws NotImplementedException { throw new Error("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/TexturePaint.java/clean/core/src/classpath/java/java/awt/TexturePaint.java
throw new Error("not implemented");
return texture.getTransparency();
public int getTransparency() throws NotImplementedException { throw new Error("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/TexturePaint.java/clean/core/src/classpath/java/java/awt/TexturePaint.java
public final boolean equals (Object obj)
public final boolean equals(Object obj)
public final boolean equals (Object obj) { // InetSocketAddress objects are equal when addr and port are equal. // The hostname may differ. if (obj instanceof InetSocketAddress) { InetSocketAddress a = (InetSocketAddress) obj; return addr.equals(a.addr) && a.port == port; } re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/InetSocketAddress.java/buggy/core/src/classpath/java/java/net/InetSocketAddress.java
public final boolean equals (Object obj) { // InetSocketAddress objects are equal when addr and port are equal. // The hostname may differ. if (obj instanceof InetSocketAddress) { InetSocketAddress a = (InetSocketAddress) obj; return addr.equals(a.addr) && a.port == port; } re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/InetSocketAddress.java/buggy/core/src/classpath/java/java/net/InetSocketAddress.java
InetSocketAddress a = (InetSocketAddress) obj; return addr.equals(a.addr) && a.port == port;
InetSocketAddress sa = (InetSocketAddress) obj; if (addr == null && sa.addr != null) return false; else if (addr == null && sa.addr == null) return hostname.equals(sa.hostname) && sa.port == port; else return addr.equals(sa.addr) && sa.port == port;
public final boolean equals (Object obj) { // InetSocketAddress objects are equal when addr and port are equal. // The hostname may differ. if (obj instanceof InetSocketAddress) { InetSocketAddress a = (InetSocketAddress) obj; return addr.equals(a.addr) && a.port == port; } re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/InetSocketAddress.java/buggy/core/src/classpath/java/java/net/InetSocketAddress.java
return addr + ":" + port;
return (addr == null ? hostname : addr.getHostName()) + ":" + port;
public String toString() { return addr + ":" + port; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/InetSocketAddress.java/buggy/core/src/classpath/java/java/net/InetSocketAddress.java
graphics.clipRect(0, 0, w, h);
public void paintComponent(Graphics graphics, Component c, Container p, int x, int y, int w, int h, boolean shouldValidate) { // reparent c addImpl(c, null, 0); // translate to (x,y) graphics.translate(x, y); // set bounds of c c.setBounds(0, 0, w, h); // validate i...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/CellRendererPane.java/buggy/core/src/classpath/javax/javax/swing/CellRendererPane.java
graphics.setClip(oldClip);
public void paintComponent(Graphics graphics, Component c, Container p, int x, int y, int w, int h, boolean shouldValidate) { // reparent c addImpl(c, null, 0); // translate to (x,y) graphics.translate(x, y); // set bounds of c c.setBounds(0, 0, w, h); // validate i...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/CellRendererPane.java/buggy/core/src/classpath/javax/javax/swing/CellRendererPane.java
public void invalidateLayout(Container parent) { // FIXME: Implement this properly! }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java
BoxLayout(JComponent p,
public BoxLayout(JComponent p,
BoxLayout(JComponent p, int way) { int width = 0; int height = 0; this.way = way; if (way == X_AXIS) { width = 1; } else { height = 1; } gridbag = new GridLayout(width, height); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/302fc3a75450b56b8f62e9cd31f864e8063b8f38/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java
System.out.println("Copyright 2002 Free Software Foundation, Inc.");
System.out.println("Copyright 2005 Free Software Foundation, Inc.");
public static void version() { System.out.println("rmiregistry (" + System.getProperty("java.vm.name") + ") " + System.getProperty("java.vm.version")); System.out.println("Copyright 2002 Free Software Foundation, Inc."); System.out.println("This is free software; see the source for copying conditions. T...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/RegistryImpl.java/buggy/core/src/classpath/gnu/gnu/java/rmi/registry/RegistryImpl.java
paintChildren(g);
public void paint(Graphics g) { RepaintManager rm = RepaintManager.currentManager(this); // We do a little stunt act here to switch on double buffering if it's // not already on. If we are not already doublebuffered, then we jump // into the method paintDoubleBuffered, which turns on the double buffer ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e607bce31cfb856ba77722e6c4f9f876b63f1cf8/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
g.setClip(originalClip);
protected void paintChildren(Graphics g) { Component[] children = getComponents(); for (int i = children.length - 1; i >= 0; --i) { if (!children[i].isVisible()) continue; Rectangle bounds = children[i].getBounds(); Rectangle oldClip = g.getClipBounds(); if (oldClip ==...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e607bce31cfb856ba77722e6c4f9f876b63f1cf8/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
c.setBackground(UIManager.getColor("control"));
public void installUI(JComponent c) { c.setBackground(UIManager.getColor("control")); super.installUI(c); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicRootPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicRootPaneUI.java
}
if (c instanceof JRootPane) { JRootPane rp = (JRootPane) c; installDefaults(rp); installComponents(rp); installListeners(rp); installKeyboardActions(rp); } }
public void installUI(JComponent c) { c.setBackground(UIManager.getColor("control")); super.installUI(c); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicRootPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicRootPaneUI.java
t.setToTranslation(tx, ty);
t.m02 = tx; t.m12 = ty; t.type = (tx == 0 && ty == 0) ? TYPE_UNIFORM_SCALE : TYPE_TRANSLATION;
public static AffineTransform getTranslateInstance(double tx, double ty) { AffineTransform t = new AffineTransform(); t.setToTranslation(tx, ty); return t; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/AffineTransform.java/buggy/core/src/classpath/java/java/awt/geom/AffineTransform.java
public Rectangle getCellBounds(JList list, int index1, int index2) {
public Rectangle getCellBounds(JList list, int index1, int index2) {
public Rectangle getCellBounds(JList list, int index1, int index2) { Rectangle result = null; Iterator iterator = uis.iterator(); // first UI delegate provides the return value if (iterator.hasNext()) { ListUI ui = (ListUI) iterator.next(); result = ui.getCellBounds(list, index1, index...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01bcf1d981a0d2c2251fcc9f4417c2f3b3c93627/MultiListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/multi/MultiListUI.java
public Point indexToLocation(JList list, int index) {
public Point indexToLocation(JList list, int index) {
public Point indexToLocation(JList list, int index) { Point result = null; Iterator iterator = uis.iterator(); // first UI delegate provides the return value if (iterator.hasNext()) { ListUI ui = (ListUI) iterator.next(); result = ui.indexToLocation(list, index); } // return va...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01bcf1d981a0d2c2251fcc9f4417c2f3b3c93627/MultiListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/multi/MultiListUI.java
public int locationToIndex(JList list, Point location) {
public int locationToIndex(JList list, Point location) {
public int locationToIndex(JList list, Point location) { int result = 0; Iterator iterator = uis.iterator(); // first UI delegate provides the return value if (iterator.hasNext()) { ListUI ui = (ListUI) iterator.next(); result = ui.locationToIndex(list, location); } // return v...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01bcf1d981a0d2c2251fcc9f4417c2f3b3c93627/MultiListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/multi/MultiListUI.java
rootElement = createBranchElement(null, null); reindex(); return (AbstractElement) rootElement;
BranchElement root = (BranchElement) createBranchElement(null, SimpleAttributeSet.EMPTY); Element[] array = new Element[1]; array[0] = createLeafElement(root, SimpleAttributeSet.EMPTY, 0, 1); root.replace(0, 0, array); return root;
protected AbstractDocument.AbstractElement createDefaultRoot() { rootElement = createBranchElement(null, null); reindex(); return (AbstractElement) rootElement; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/PlainDocument.java/clean/core/src/classpath/javax/javax/swing/text/PlainDocument.java
return null;
Element root = getDefaultRootElement(); return root.getElement(root.getElementIndex(pos));
public Element getParagraphElement(int pos) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/PlainDocument.java/clean/core/src/classpath/javax/javax/swing/text/PlainDocument.java
protected void insertUpdate(DefaultDocumentEvent chng, AttributeSet attr)
protected void insertUpdate(DefaultDocumentEvent event, AttributeSet attributes)
protected void insertUpdate(DefaultDocumentEvent chng, AttributeSet attr) { reindex(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/PlainDocument.java/clean/core/src/classpath/javax/javax/swing/text/PlainDocument.java
super.insertUpdate(event, attributes);
protected void insertUpdate(DefaultDocumentEvent chng, AttributeSet attr) { reindex(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/PlainDocument.java/clean/core/src/classpath/javax/javax/swing/text/PlainDocument.java
for (int i = str.indexOf('\n', 0); i != -1; i = str.indexOf('\n', i+1))
for (int i = str.indexOf('\n', 0); i != -1; i = str.indexOf('\n', i + 1))
protected void reindex() { Element[] lines; try { String str = content.getString(0, content.length()); ArrayList elts = new ArrayList(); int j = 0; for (int i = str.indexOf('\n', 0); i != -1; i = str.indexOf('\n', i+1)) { elts.add(createLeafElement(rootElem...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/PlainDocument.java/clean/core/src/classpath/javax/javax/swing/text/PlainDocument.java
elts.add(createLeafElement(rootElement, null, j, i)); j = i;
elts.add(createLeafElement(rootElement, SimpleAttributeSet.EMPTY, j, i + 1)); j = i + 1;
protected void reindex() { Element[] lines; try { String str = content.getString(0, content.length()); ArrayList elts = new ArrayList(); int j = 0; for (int i = str.indexOf('\n', 0); i != -1; i = str.indexOf('\n', i+1)) { elts.add(createLeafElement(rootElem...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/PlainDocument.java/clean/core/src/classpath/javax/javax/swing/text/PlainDocument.java
elts.add(createLeafElement(rootElement, null, j, content.length()));
elts.add(createLeafElement(rootElement, SimpleAttributeSet.EMPTY, j, content.length()));
protected void reindex() { Element[] lines; try { String str = content.getString(0, content.length()); ArrayList elts = new ArrayList(); int j = 0; for (int i = str.indexOf('\n', 0); i != -1; i = str.indexOf('\n', i+1)) { elts.add(createLeafElement(rootElem...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/PlainDocument.java/clean/core/src/classpath/javax/javax/swing/text/PlainDocument.java
protected void reindex() { Element[] lines; try { String str = content.getString(0, content.length()); ArrayList elts = new ArrayList(); int j = 0; for (int i = str.indexOf('\n', 0); i != -1; i = str.indexOf('\n', i+1)) { elts.add(createLeafElement(rootElem...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/PlainDocument.java/clean/core/src/classpath/javax/javax/swing/text/PlainDocument.java
lines[0] = createLeafElement(rootElement, null, 0, 1);
lines[0] = createLeafElement(rootElement, SimpleAttributeSet.EMPTY, 0, 1);
protected void reindex() { Element[] lines; try { String str = content.getString(0, content.length()); ArrayList elts = new ArrayList(); int j = 0; for (int i = str.indexOf('\n', 0); i != -1; i = str.indexOf('\n', i+1)) { elts.add(createLeafElement(rootElem...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/PlainDocument.java/clean/core/src/classpath/javax/javax/swing/text/PlainDocument.java
protected void removeUpdate(DefaultDocumentEvent chng)
protected void removeUpdate(DefaultDocumentEvent event)
protected void removeUpdate(DefaultDocumentEvent chng) { reindex(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/PlainDocument.java/clean/core/src/classpath/javax/javax/swing/text/PlainDocument.java
super.removeUpdate(event);
protected void removeUpdate(DefaultDocumentEvent chng) { reindex(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/PlainDocument.java/clean/core/src/classpath/javax/javax/swing/text/PlainDocument.java
if (theme == null)
public MetalLookAndFeel() { if (theme == null) createDefaultTheme(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
if (theme == null)
protected void createDefaultTheme() { setCurrentTheme(new DefaultMetalTheme()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getAcceleratorForeground() { return theme.getAcceleratorForeground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getAcceleratorSelectedForeground() { return theme.getAcceleratorSelectedForeground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getBlack() { return theme.getBlack(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getControl() { return theme.getControl(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getControlDarkShadow() { return theme.getControlDarkShadow(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getControlDisabled() { return theme.getControlDisabled(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getControlHighlight() { return theme.getControlHighlight(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getControlInfo() { return theme.getControlInfo(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getControlShadow() { return theme.getControlShadow(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getControlTextColor() { return theme.getControlTextColor(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static FontUIResource getControlTextFont() { return theme.getControlTextFont(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
if (theme != null)
public UIDefaults getDefaults() { if (LAF_defaults == null) { LAF_defaults = super.getDefaults(); // add custom theme entries to the table theme.addCustomEntriesToTable(LAF_defaults); } // Returns the default values for this look and feel. return LAF_defaults; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return "Metal look and feel";
return "The Java(tm) Look and Feel";
public String getDescription() { return "Metal look and feel"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getDesktopColor() { return theme.getDesktopColor(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getFocusColor() { return theme.getFocusColor(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getHighlightedTextColor() { return theme.getHighlightedTextColor(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return "MetalLookAndFeel";
return "Metal";
public String getID() { return "MetalLookAndFeel"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getInactiveControlTextColor() { return theme.getInactiveControlTextColor(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getInactiveSystemTextColor() { return theme.getInactiveSystemTextColor(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getMenuBackground() { return theme.getMenuBackground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getMenuDisabledForeground() { return theme.getMenuDisabledForeground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getMenuForeground() { return theme.getMenuForeground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getMenuSelectedBackground() { return theme.getMenuSelectedBackground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getMenuSelectedForeground() { return theme.getMenuSelectedForeground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static FontUIResource getMenuTextFont() { return theme.getMenuTextFont(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return "MetalLookAndFeel";
return "Metal";
public String getName() { return "MetalLookAndFeel"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getPrimaryControl() { return theme.getPrimaryControl(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getPrimaryControlDarkShadow() { return theme.getPrimaryControlDarkShadow(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getPrimaryControlHighlight() { return theme.getPrimaryControlHighlight(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getPrimaryControlInfo() { return theme.getPrimaryControlInfo(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getPrimaryControlShadow() { return theme.getPrimaryControlShadow(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getSeparatorBackground() { return theme.getSeparatorBackground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getSeparatorForeground() { return theme.getSeparatorForeground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static FontUIResource getSubTextFont() { return theme.getSubTextFont(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getSystemTextColor() { return theme.getSystemTextColor(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static FontUIResource getSystemTextFont() { return theme.getSystemTextFont(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getTextHighlightColor() { return theme.getTextHighlightColor(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getUserTextColor() { return theme.getUserTextColor(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static FontUIResource getUserTextFont() { return theme.getUserTextFont(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getWhite() { return theme.getWhite(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getWindowBackground() { return theme.getWindowBackground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getWindowTitleBackground() { return theme.getWindowTitleBackground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static FontUIResource getWindowTitleFont() { return theme.getWindowTitleFont(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getWindowTitleForeground() { return theme.getWindowTitleForeground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getWindowTitleInactiveBackground() { return theme.getWindowTitleInactiveBackground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return null;
public static ColorUIResource getWindowTitleInactiveForeground() { return theme.getWindowTitleInactiveForeground(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
"EditorPane.font", new FontUIResource("Dialog", Font.PLAIN, 12),
"EditorPane.font", new FontUIResource("Dialog", Font.BOLD, 12),
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
"FileChooser.fileNameLabelMnemonic", new Integer(78), "FileChooser.filesOfTypeLabelMnemonic",new Integer(84), "FileChooser.lookInLabelMnemonic", new Integer(73),
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
"Menu.checkIcon", MetalIconFactory.getMenuItemCheckIcon(),
"MenuItem.commandSound", "sounds/MenuItemCommand.wav",
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
"ToolTip.hideAccelerator", Boolean.FALSE,
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
final private void flushDirectories() throws IOException
final private void flushDirectories()
final private void flushDirectories() throws IOException { log.info("flushing directories ..."); for (FSDirectory d : directories.values()) { log.debug("flush: flushing directory "+d); //TODO: uncomment this line //d.flush(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c56cb877a222d0f75caa8f0f3840ae408e8f5265/AbstractFileSystem.java/clean/fs/src/fs/org/jnode/fs/spi/AbstractFileSystem.java
log.debug("flush: flushing directory "+d);
if(log.isDebugEnabled()) { log.debug("flush: flushing directory "+d); }
final private void flushDirectories() throws IOException { log.info("flushing directories ..."); for (FSDirectory d : directories.values()) { log.debug("flush: flushing directory "+d); //TODO: uncomment this line //d.flush(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c56cb877a222d0f75caa8f0f3840ae408e8f5265/AbstractFileSystem.java/clean/fs/src/fs/org/jnode/fs/spi/AbstractFileSystem.java