rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
if(nodeStates.get(nextPath) == EXPANDED && path.isDescendant(nextPath))
if (nodeStates.get(nextPath) == EXPANDED && path.isDescendant(nextPath))
public Enumeration getExpandedDescendants(TreePath path) { Enumeration paths = nodeStates.keys(); Vector relevantPaths = new Vector(); while(paths.hasMoreElements()) { TreePath nextPath = (TreePath) paths.nextElement(); if(nodeStates.get(nextPath) == EXPANDED && path.isDescend...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
throw new IllegalArgumentException("The argument 'prefix' must not be" + " null.");
throw new IllegalArgumentException( "The argument 'prefix' must not be" + " null.");
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgume...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
throw new IllegalArgumentException("The argument 'startingRow' must not"
throw new IllegalArgumentException( "The argument 'startingRow' must not"
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgume...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
throw new IllegalArgumentException("The argument 'startingRow' must not"
throw new IllegalArgumentException( "The argument 'startingRow' must not"
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgume...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
isExpanded(i), treeModel.isLeaf(o), i, false);
isExpanded(i), treeModel.isLeaf(o), i, false);
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgume...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
} else
} else
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgume...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
isExpanded(i), treeModel.isLeaf(o), i, false);
isExpanded(i), treeModel.isLeaf(o), i, false);
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgume...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public int getRowHeight() { return rowHeight; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
return (TreeSelectionListener[]) getListeners(TreeSelectionListener.class);
return (TreeSelectionListener[]) getListeners(TreeSelectionListener.class);
public TreeSelectionListener[] getTreeSelectionListeners() { return (TreeSelectionListener[]) getListeners(TreeSelectionListener.class); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
return (TreeWillExpandListener[]) getListeners(TreeWillExpandListener.class);
return (TreeWillExpandListener[]) getListeners(TreeWillExpandListener.class);
public TreeWillExpandListener[] getTreeWillExpandListeners() { return (TreeWillExpandListener[]) getListeners(TreeWillExpandListener.class); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
return ! isExpanded(path);
return !isExpanded(path);
public boolean isCollapsed(TreePath path) { return ! isExpanded(path); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
return selectionModel.isRowSelected(row);
return selectionModel.isPathSelected(getPathForRow(row));
public boolean isRowSelected(int row) { return selectionModel.isRowSelected(row); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public void removeSelectionRows(int[] rows) { // Make sure we have an UI so getPathForRow() does not return null. if (rows == null || getUI() == null) return; TreePath[] paths = new TreePath[rows.length]; for (int i = rows.length - 1; i >= 0; --i) paths[i] = getPathForRow(rows[i]); removeSel...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public void setDragEnabled(boolean enabled) { dragEnabled = enabled; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
while (parent != null)
if (parent != null)
protected void setExpandedState(TreePath path, boolean state) { if (path == null) return; TreePath parent = path.getParentPath(); try { while (parent != null) checkExpandParents(parent); } catch (ExpandVetoException e) { // Expansion vetoed. return; } doExpandParents(path, s...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
firePropertyChange(INVOKES_STOP_CELL_EDITING_PROPERTY, oldValue, invoke);
firePropertyChange(INVOKES_STOP_CELL_EDITING_PROPERTY, oldValue, invoke);
public void setInvokesStopCellEditing(boolean invoke) { if (invokesStopCellEditing == invoke) return; boolean oldValue = invokesStopCellEditing; invokesStopCellEditing = invoke; firePropertyChange(INVOKES_STOP_CELL_EDITING_PROPERTY, oldValue, invoke); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public void setModel(TreeModel model) { if (treeModel == model) return; TreeModel oldValue = treeModel; treeModel = model; firePropertyChange(TREE_MODEL_PROPERTY, oldValue, model); // add treeModelListener to the new model if (treeModelListener == null) treeModelListener = createTreeModel...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
revalidate(); repaint();
public void setSelectionModel(TreeSelectionModel model) { if (selectionModel == model) return; TreeSelectionModel oldValue = selectionModel; selectionModel = model; firePropertyChange(SELECTION_MODEL_PROPERTY, oldValue, model); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
k += ((String)hm.getSelectedValue()).charAt(7);
if (((String)hm.getSelectedValue()).length() > 7) k += ((String)hm.getSelectedValue()).charAt(9); else k += ((String)hm.getSelectedValue()).charAt(7);
private void showHexMap() { JPanel srp = new JPanel(); srp.setLayout(new BorderLayout()); DefaultListModel listModel = new DefaultListModel(); StringBuffer sb = new StringBuffer(); // we will use a collator here so that we can take advantage of the locales Collator collator = Collator.g...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/faa8d92c8f5c5791bee47c93e3aa6be063950489/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java
UIDefaults defaults = UIManager.getLookAndFeelDefaults(); p.setBackground(defaults.getColor("Panel.background"));
public void installDefaults(JPanel p) { p.setOpaque(true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/BasicPanelUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicPanelUI.java
return 80;
return HTTPConnection.HTTP_PORT;
protected int getDefaultPort() { return 80; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62bb818fd7bc55fbb32b7cfa4b44b94383422a54/Handler.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/http/Handler.java
protected URLConnection openConnection (URL url) throws IOException
public URLConnection openConnection(URL url) throws IOException
protected URLConnection openConnection (URL url) throws IOException { return new Connection (url); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62bb818fd7bc55fbb32b7cfa4b44b94383422a54/Handler.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/http/Handler.java
return new Connection (url);
return new HTTPURLConnection(url);
protected URLConnection openConnection (URL url) throws IOException { return new Connection (url); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62bb818fd7bc55fbb32b7cfa4b44b94383422a54/Handler.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/http/Handler.java
public void focusGained(FocusEvent event) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/DefaultCaret.java/clean/core/src/classpath/javax/javax/swing/text/DefaultCaret.java
public void focusLost(FocusEvent event) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/DefaultCaret.java/clean/core/src/classpath/javax/javax/swing/text/DefaultCaret.java
public void mouseExited(MouseEvent event) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/DefaultCaret.java/clean/core/src/classpath/javax/javax/swing/text/DefaultCaret.java
setTitle();
setSessionTitle();
public void addSessionView(String tabText,Session sessionView) { final Session session = sessionView; if (hideTabBar && sessionPane.getTabCount() == 0 && !embedded) { this.getContentPane().add(session, BorderLayout.CENTER); session.addSessionListener(this); session.resizeMe(); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/587af9e9ad98a6fc095602838327da784630b619/Gui5250Frame.java/buggy/tn5250j/src/org/tn5250j/Gui5250Frame.java
setTitle();
if (count == 0) setSessionTitle();
private void jbInit() throws Exception { this.getContentPane().setLayout(borderLayout1); // update the frame sequences frameSeq = sequence++; sessionPane.setBorder(BorderFactory.createEtchedBorder()); sessionPane.setBounds(new Rectangle(78, 57, 5, 5)); sessionPane.setOpaque(true); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/587af9e9ad98a6fc095602838327da784630b619/Gui5250Frame.java/buggy/tn5250j/src/org/tn5250j/Gui5250Frame.java
setTitle();
setSessionTitle();
private void nextSession() { final int index = sessionPane.getSelectedIndex(); sessionPane.setForegroundAt(index,Color.black); sessionPane.setIconAt(index,unfocused); SwingUtilities.invokeLater(new Runnable() { public void run() { int index1 = index; if (index1 < ses...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/587af9e9ad98a6fc095602838327da784630b619/Gui5250Frame.java/buggy/tn5250j/src/org/tn5250j/Gui5250Frame.java
setTitle();
setSessionTitle();
public void run() { int index1 = index; if (index1 < sessionPane.getTabCount() - 1) { sessionPane.setSelectedIndex(++index1); sessionPane.setForegroundAt(index1,Color.blue); sessionPane.setIconAt(index1,focused); } else { ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/587af9e9ad98a6fc095602838327da784630b619/Gui5250Frame.java/buggy/tn5250j/src/org/tn5250j/Gui5250Frame.java
setTitle();
setSessionTitle();
public void onSessionChanged(SessionChangeEvent changeEvent) { Session ses = (Session)changeEvent.getSource(); switch (changeEvent.getState()) { case STATE_CONNECTED: final String d = ses.getAllocDeviceName(); if (d != null) { System.out.println(changeEvent.getSt...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/587af9e9ad98a6fc095602838327da784630b619/Gui5250Frame.java/buggy/tn5250j/src/org/tn5250j/Gui5250Frame.java
setTitle();
setSessionTitle();
private void prevSession() { final int index = sessionPane.getSelectedIndex(); sessionPane.setForegroundAt(index,Color.black); sessionPane.setIconAt(index,unfocused); SwingUtilities.invokeLater(new Runnable() { public void run() { int index1 = index; if (index1 == 0)...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/587af9e9ad98a6fc095602838327da784630b619/Gui5250Frame.java/buggy/tn5250j/src/org/tn5250j/Gui5250Frame.java
setTitle();
setSessionTitle();
public void run() { int index1 = index; if (index1 == 0) { sessionPane.setSelectedIndex(sessionPane.getTabCount() - 1); sessionPane.setForegroundAt(sessionPane.getSelectedIndex(),Color.blue); sessionPane.setIconAt(sessionPane.getSelectedIndex(),fo...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/587af9e9ad98a6fc095602838327da784630b619/Gui5250Frame.java/buggy/tn5250j/src/org/tn5250j/Gui5250Frame.java
setTitle();
setSessionTitle();
public void stateChanged(ChangeEvent e) { JTabbedPane p = (JTabbedPane)e.getSource(); p.setForegroundAt(selectedIndex,Color.black); p.setIconAt(selectedIndex,unfocused); Session sg = (Session)p.getComponentAt(selectedIndex); sg.setVisible(false); sg = (Session)p.getSelectedComponent(); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/587af9e9ad98a6fc095602838327da784630b619/Gui5250Frame.java/buggy/tn5250j/src/org/tn5250j/Gui5250Frame.java
firePropertyChange(INVERTED_CHANGED_PROPERTY, oldInverted, isInverted);
firePropertyChange("inverted", oldInverted, isInverted);
public void setInverted(boolean inverted) { if (isInverted != inverted) { boolean oldInverted = isInverted; isInverted = inverted; firePropertyChange(INVERTED_CHANGED_PROPERTY, oldInverted, isInverted); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JSlider.java/clean/core/src/classpath/javax/javax/swing/JSlider.java
firePropertyChange(LABEL_TABLE_CHANGED_PROPERTY, oldTable, labelTable);
firePropertyChange("labelTable", oldTable, labelTable);
public void setLabelTable(Dictionary table) { if (table != labelTable) { Dictionary oldTable = labelTable; labelTable = table; firePropertyChange(LABEL_TABLE_CHANGED_PROPERTY, oldTable, labelTable); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JSlider.java/clean/core/src/classpath/javax/javax/swing/JSlider.java
firePropertyChange(MAJOR_TICK_SPACING_CHANGED_PROPERTY, oldSpacing,
firePropertyChange("majorTickSpacing", oldSpacing,
public void setMajorTickSpacing(int spacing) { if (majorTickSpacing != spacing) { int oldSpacing = majorTickSpacing; majorTickSpacing = spacing; firePropertyChange(MAJOR_TICK_SPACING_CHANGED_PROPERTY, oldSpacing, majorTickSpacing); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JSlider.java/clean/core/src/classpath/javax/javax/swing/JSlider.java
firePropertyChange(MINOR_TICK_SPACING_CHANGED_PROPERTY, oldSpacing,
firePropertyChange("minorTickSpacing", oldSpacing,
public void setMinorTickSpacing(int spacing) { if (minorTickSpacing != spacing) { int oldSpacing = minorTickSpacing; minorTickSpacing = spacing; firePropertyChange(MINOR_TICK_SPACING_CHANGED_PROPERTY, oldSpacing, minorTickSpacing); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JSlider.java/clean/core/src/classpath/javax/javax/swing/JSlider.java
firePropertyChange(MODEL_CHANGED_PROPERTY, oldModel, sliderModel);
firePropertyChange("model", oldModel, sliderModel);
public void setModel(BoundedRangeModel model) { // I didn't do the null pointer check on purpose. // If you try it with Sun's, it'll go ahead and set it to null // and bork the next time it tries to access the model. if (model != sliderModel) { BoundedRangeModel oldModel = sliderModel; sliderModel =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JSlider.java/clean/core/src/classpath/javax/javax/swing/JSlider.java
firePropertyChange(ORIENTATION_CHANGED_PROPERTY, oldOrientation,
firePropertyChange("orientation", oldOrientation,
public void setOrientation(int orientation) { if (orientation != VERTICAL && orientation != HORIZONTAL) throw new IllegalArgumentException("orientation must be one of: VERTICAL, HORIZONTAL"); if (orientation != this.orientation) { int oldOrientation = this.orientation; this.orientation = orientation;...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JSlider.java/clean/core/src/classpath/javax/javax/swing/JSlider.java
firePropertyChange(PAINT_LABELS_CHANGED_PROPERTY, oldPaintLabels, paintLabels);
firePropertyChange("paintLabels", oldPaintLabels, paintLabels);
public void setPaintLabels(boolean paint) { if (paint != paintLabels) { boolean oldPaintLabels = paintLabels; paintLabels = paint; firePropertyChange(PAINT_LABELS_CHANGED_PROPERTY, oldPaintLabels, paintLabels); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JSlider.java/clean/core/src/classpath/javax/javax/swing/JSlider.java
firePropertyChange(PAINT_TICKS_CHANGED_PROPERTY, oldPaintTicks, paintTicks);
firePropertyChange("paintTicks", oldPaintTicks, paintTicks);
public void setPaintTicks(boolean paint) { if (paint != paintTicks) { boolean oldPaintTicks = paintTicks; paintTicks = paint; firePropertyChange(PAINT_TICKS_CHANGED_PROPERTY, oldPaintTicks, paintTicks); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JSlider.java/clean/core/src/classpath/javax/javax/swing/JSlider.java
jComponent.add(((SwingMenuItemPeer)item.getPeer()).jComponent);
jComponent.add(((SwingBaseMenuItemPeer)item.getPeer()).jComponent);
public void addItem(MenuItem item) { item.addNotify(); jComponent.add(((SwingMenuItemPeer)item.getPeer()).jComponent); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9722fdf7370e660e1ca4f433239748968fd50d46/SwingMenuPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingMenuPeer.java
constraints.setX (Spring.constant(parent.getInsets().left)); constraints.setY (Spring.constant(parent.getInsets().top));
constraints.setX(Spring.constant(parent.getInsets().left)); constraints.setY(Spring.constant(parent.getInsets().top));
public SpringLayout.Constraints getConstraints(Component c) { Constraints constraints = (Constraints) constraintsMap.get(c); if (constraints == null) { Container parent = c.getParent(); constraints = new Constraints(); if (parent != null) { constraints.setX ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
constraints.setX (Spring.constant(0)); constraints.setY (Spring.constant(0));
constraints.setX(Spring.constant(0)); constraints.setY(Spring.constant(0));
public SpringLayout.Constraints getConstraints(Component c) { Constraints constraints = (Constraints) constraintsMap.get(c); if (constraints == null) { Container parent = c.getParent(); constraints = new Constraints(); if (parent != null) { constraints.setX ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
constraints.setWidth (Spring.constant(c.getMinimumSize().width,
} constraints.setWidth(Spring.constant(c.getMinimumSize().width,
public SpringLayout.Constraints getConstraints(Component c) { Constraints constraints = (Constraints) constraintsMap.get(c); if (constraints == null) { Container parent = c.getParent(); constraints = new Constraints(); if (parent != null) { constraints.setX ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
constraints.setHeight (Spring.constant(c.getMinimumSize().height,
constraints.setHeight(Spring.constant(c.getMinimumSize().height,
public SpringLayout.Constraints getConstraints(Component c) { Constraints constraints = (Constraints) constraintsMap.get(c); if (constraints == null) { Container parent = c.getParent(); constraints = new Constraints(); if (parent != null) { constraints.setX ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
public SpringLayout.Constraints getConstraints(Component c) { Constraints constraints = (Constraints) constraintsMap.get(c); if (constraints == null) { Container parent = c.getParent(); constraints = new Constraints(); if (parent != null) { constraints.setX ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
}
public SpringLayout.Constraints getConstraints(Component c) { Constraints constraints = (Constraints) constraintsMap.get(c); if (constraints == null) { Container parent = c.getParent(); constraints = new Constraints(); if (parent != null) { constraints.setX ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
public void layoutContainer(Container p) { addLayoutComponent(p, new Constraints(Spring.constant(0), Spring.constant(0))); int offsetX = p.getInsets().left; int offsetY = p.getInsets().right; Component[] components = p.getComponents(); for (int index = 0; index...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
public Dimension preferredLayoutSize(Container p) { int maxX = 0; int maxY = 0; int offsetX = p.getInsets().left; int offsetY = p.getInsets().right; Component[] components = p.getComponents(); for (int index = 0; index < components.length; index++) { Component c = components[index]; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
public void putConstraint(String e1, Component c1, int pad, String e2, Component c2) { Constraints constraints1 = getConstraints(c1); Constraints constraints2 = getConstraints(c2); Spring strut = Spring.constant(pad); Spring otherEdge = constraints2.getConstraint(e2); const...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
AbstractColorChooserPanel[] newPanels = new AbstractColorChooserPanel[(old == null) ? 1 : old.length + 1];
AbstractColorChooserPanel[] newPanels = new AbstractColorChooserPanel[(old == null) ? 1 : old.length + 1];
public void addChooserPanel(AbstractColorChooserPanel panel) { if (panel == null) return; AbstractColorChooserPanel[] old = chooserPanels; AbstractColorChooserPanel[] newPanels = new AbstractColorChooserPanel[(old == null) ? 1 ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JColorChooser.java/clean/core/src/classpath/javax/javax/swing/JColorChooser.java
AbstractColorChooserPanel[] newPanels = new AbstractColorChooserPanel[chooserPanels.length - 1];
AbstractColorChooserPanel[] newPanels = new AbstractColorChooserPanel[chooserPanels.length - 1];
public AbstractColorChooserPanel removeChooserPanel(AbstractColorChooserPanel panel) { int index = -1; for (int i = 0; i < chooserPanels.length; i++) if (panel == chooserPanels[i]) { index = i; break; } if (index == -1) return null; AbstractColorChooserPanel[] old = chooserPan...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JColorChooser.java/clean/core/src/classpath/javax/javax/swing/JColorChooser.java
MediaTracker tracker = new MediaTracker(this); tracker.addImage(image,0); try { tracker.waitForAll(); } catch(Exception e) { System.out.println(e.getMessage()); }
protected void initialize(ImageIcon iimage) { image = iimage.getImage(); // if no image, return if (image == null) { throw new IllegalArgumentException("Image specified is invalid."); }// System.out.println(" here in splash ");// MediaTracker tracker = new MediaTracker(this);// tra...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/59507b16b426e754b9b93873a6ca81633fe0897f/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java
Dimension s = new Dimension(image.getWidth(this) + 2, image.getHeight(this) + 2); dialog.setSize(s);
Dimension s = new Dimension(image.getWidth(this) + 2, image.getHeight(this) + 2); setSize(s); dialog.setLayout(new BorderLayout()); dialog.setSize(s);
protected void initialize(ImageIcon iimage) { image = iimage.getImage(); // if no image, return if (image == null) { throw new IllegalArgumentException("Image specified is invalid."); }// System.out.println(" here in splash ");// MediaTracker tracker = new MediaTracker(this);// tra...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/59507b16b426e754b9b93873a6ca81633fe0897f/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java
dialog.add(this); dialog.validate();
dialog.add(this,BorderLayout.CENTER);
protected void initialize(ImageIcon iimage) { image = iimage.getImage(); // if no image, return if (image == null) { throw new IllegalArgumentException("Image specified is invalid."); }// System.out.println(" here in splash ");// MediaTracker tracker = new MediaTracker(this);// tra...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/59507b16b426e754b9b93873a6ca81633fe0897f/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java
dialog.validate();
protected void initialize(ImageIcon iimage) { image = iimage.getImage(); // if no image, return if (image == null) { throw new IllegalArgumentException("Image specified is invalid."); }// System.out.println(" here in splash ");// MediaTracker tracker = new MediaTracker(this);// tra...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/59507b16b426e754b9b93873a6ca81633fe0897f/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java
Dimension size = getSize();
int inset = 5; int height = 14; Dimension size = getSize();
public synchronized void paint(Graphics g) { Dimension size = getSize();// System.out.println(" here in paint "); if(offScreenBuffer == null) { offScreenBuffer = createImage(size.width,size.height); offScreenBufferGraphics = offScreenBuffer.getGraphics(); } offScreenBufferGraphics.setColor(Color.black); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/59507b16b426e754b9b93873a6ca81633fe0897f/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java
if(offScreenBuffer == null) { offScreenBuffer = createImage(size.width,size.height); offScreenBufferGraphics = offScreenBuffer.getGraphics(); }
if(offScreenBuffer == null) { offScreenBuffer = createImage(size.width,size.height); offScreenBufferGraphics = offScreenBuffer.getGraphics(); }
public synchronized void paint(Graphics g) { Dimension size = getSize();// System.out.println(" here in paint "); if(offScreenBuffer == null) { offScreenBuffer = createImage(size.width,size.height); offScreenBufferGraphics = offScreenBuffer.getGraphics(); } offScreenBufferGraphics.setColor(Color.black); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/59507b16b426e754b9b93873a6ca81633fe0897f/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java
offScreenBufferGraphics.setColor(Color.black); offScreenBufferGraphics.drawRect(0,0,size.width - 1,size.height - 1);
offScreenBufferGraphics.drawImage(image,1,1,this);
public synchronized void paint(Graphics g) { Dimension size = getSize();// System.out.println(" here in paint "); if(offScreenBuffer == null) { offScreenBuffer = createImage(size.width,size.height); offScreenBufferGraphics = offScreenBuffer.getGraphics(); } offScreenBufferGraphics.setColor(Color.black); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/59507b16b426e754b9b93873a6ca81633fe0897f/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java
offScreenBufferGraphics.drawImage(image,1,1,this);
offScreenBufferGraphics.setColor(new Color(204,204,255)); offScreenBufferGraphics.draw3DRect(0,0,size.width - 1,size.height - 1,true);
public synchronized void paint(Graphics g) { Dimension size = getSize();// System.out.println(" here in paint "); if(offScreenBuffer == null) { offScreenBuffer = createImage(size.width,size.height); offScreenBufferGraphics = offScreenBuffer.getGraphics(); } offScreenBufferGraphics.setColor(Color.black); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/59507b16b426e754b9b93873a6ca81633fe0897f/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java
offScreenBufferGraphics.draw3DRect(4,image.getHeight(this) - 16, image.getWidth(this) - 8,15,true);
offScreenBufferGraphics.setColor(new Color(204,204,255).darker()); offScreenBufferGraphics.fill3DRect(inset - 1, image.getHeight(this) - (height +2), image.getWidth(this) - (inset *2), height + 1, false);
public synchronized void paint(Graphics g) { Dimension size = getSize();// System.out.println(" here in paint "); if(offScreenBuffer == null) { offScreenBuffer = createImage(size.width,size.height); offScreenBufferGraphics = offScreenBuffer.getGraphics(); } offScreenBufferGraphics.setColor(Color.black); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/59507b16b426e754b9b93873a6ca81633fe0897f/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java
offScreenBufferGraphics.setColor(new Color(206,206,229)); offScreenBufferGraphics.fillRect(5,image.getHeight(this) - 15, ((image.getWidth(this) - 10) / steps) * progress,14); g.drawImage(offScreenBuffer,0,0,this);
offScreenBufferGraphics.setColor(new Color(204,204,255)); offScreenBufferGraphics.fillRect(inset, image.getHeight(this) - (height +1), ((image.getWidth(this) - (inset * 2)) / steps) * progress, height);
public synchronized void paint(Graphics g) { Dimension size = getSize();// System.out.println(" here in paint "); if(offScreenBuffer == null) { offScreenBuffer = createImage(size.width,size.height); offScreenBufferGraphics = offScreenBuffer.getGraphics(); } offScreenBufferGraphics.setColor(Color.black); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/59507b16b426e754b9b93873a6ca81633fe0897f/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java
}
}
public synchronized void paint(Graphics g) { Dimension size = getSize();// System.out.println(" here in paint "); if(offScreenBuffer == null) { offScreenBuffer = createImage(size.width,size.height); offScreenBufferGraphics = offScreenBuffer.getGraphics(); } offScreenBufferGraphics.setColor(Color.black); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/59507b16b426e754b9b93873a6ca81633fe0897f/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java
paint(g); }
paint(g); }
public void update(Graphics g) { paint(g); }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/59507b16b426e754b9b93873a6ca81633fe0897f/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java
SwingToolkit.add(textField, this); SwingToolkit.copyAwtProperties(textField, this);
this.textField = textField; SwingToolkit.add(textField, this); SwingToolkit.copyAwtProperties(textField, this);
public SwingTextFieldPeer(TextField textField) { SwingToolkit.add(textField, this); SwingToolkit.copyAwtProperties(textField, this); setText(textField.getText()); setColumns(textField.getColumns()); setEditable(textField.isEditable()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
}
}
public SwingTextFieldPeer(TextField textField) { SwingToolkit.add(textField, this); SwingToolkit.copyAwtProperties(textField, this); setText(textField.getText()); setColumns(textField.getColumns()); setEditable(textField.isEditable()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
return false; }
return false; }
public boolean canDetermineObscurity() { return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
System.err.println(e); }
System.err.println(e); }
public void coalescePaintEvent(PaintEvent e) { System.err.println(e); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
}
}
public void createBuffers(int x, BufferCapabilities bufferCapabilities) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
}
}
public void destroyBuffers() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
}
}
public void dispose() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
return 0; }
return 0; }
public long filterEvents(long mask) { return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
}
}
public void flip(BufferCapabilities.FlipContents flipContents) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
return null; }
return null; }
public Image getBackBuffer() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
return null; }
return null; }
public Rectangle getCharacterBounds(int i) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
return 0; }
return 0; }
public int getIndexAtPoint(int x, int y) { return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
return null; }
return null; }
public Dimension getMinimumSize(int columns) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
return null; }
return null; }
public Dimension getPreferredSize(int columns) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
}
}
public void handleEvent(AWTEvent e) { //System.err.println(e); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
return false; }
return false; }
public boolean handlesWheelScrolling() { return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
return false; }
return false; }
public boolean isObscured() { return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
return getMinimumSize(cols); }
return getMinimumSize(cols); }
public Dimension minimumSize(int cols) { return getMinimumSize(cols); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
return getPreferredSize(cols); }
return getPreferredSize(cols); }
public Dimension preferredSize(int cols) { return getPreferredSize(cols); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
boolean focusedWindowChangeAllowed, long time) { return true; }
boolean focusedWindowChangeAllowed, long time) { return true; }
public boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time) { return true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
}
}
public void setEchoChar(char echoChar) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
setEchoChar(c); }
setEchoChar(c); }
public void setEchoCharacter(char c) { setEchoChar(c); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
public void setEventMask(long mask) { // TODO Auto-generated method stub }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
}
}
public void setEventMask(long mask) { // TODO Auto-generated method stub }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
}
}
public void updateCursorImmediately() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingTextFieldPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingTextFieldPeer.java
"CheckBox.background", new ColorUIResource(light),
"CheckBox.background", new ColorUIResource(new Color(204, 204, 204)),
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
return BasicIconFactory.getCheckBoxIcon();
return BasicIconFactory.getMenuItemCheckIcon();
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
new ColorUIResource(darkShadow),
new ColorUIResource(new Color(16, 16, 16)),
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
"CheckBoxMenuItem.checkIcon", BasicIconFactory.getCheckBoxMenuItemIcon(),
"CheckBoxMenuItem.checkIcon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getMenuItemCheckIcon(); } },
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
return BasicIconFactory.getCheckBoxIcon();
return BasicIconFactory.getMenuItemCheckIcon();
public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxIcon(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED, Color.WHIT...
public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxIcon(); }
public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED,...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
return new IconUIResource(BasicIconFactory.createEmptyFrameIcon());
return BasicIconFactory.getMenuItemCheckIcon();
public Object createValue(UIDefaults def) { return new IconUIResource(BasicIconFactory.createEmptyFrameIcon()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
public Object createValue(UIDefaults def) { return BasicIconFactory.getRadioButtonIcon(); }
public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED, Color.WHIT...
public Object createValue(UIDefaults def) { return BasicIconFactory.getRadioButtonIcon(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
public FSEntry addDirectory(String name) throws IOException {
public synchronized FSEntry addDirectory(String name) throws IOException {
public FSEntry addDirectory(String name) throws IOException { if(isReadOnly()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Direct...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76cdfbaf38c1029347a5829758eac206a20e3b16/Ext2Directory.java/buggy/fs/src/fs/org/jnode/fs/ext2/Ext2Directory.java