rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
}
if (e.getActionCommand().equals("CUSTOMIZE")) {
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (e.getActionCommand().equals("CUSTOMIZE")) {
filter.getOutputFilterInstance().setCustomProperties();
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
filter.getOutputFilterInstance().setCustomProperties();
}
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
} }
}
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
final String message = statusevent.getMessage() + '\n'; Runnable cdp = new Runnable () { public void run() { taskOutput.setText( taskOutput.getText() + message); } }; SwingUtilities.invokeLater(cdp);
final String message = statusevent.getMessage() + '\n'; Runnable cdp = new Runnable() { public void run() { taskOutput.setText(taskOutput.getText() + message); } }; SwingUtilities.invokeLater(cdp);
public void commandStatusReceived(FTPStatusEvent statusevent) { final String message = statusevent.getMessage() + '\n'; Runnable cdp = new Runnable () { public void run() { taskOutput.setText( taskOutput.getText() + message); } }; SwingUtilities.invokeLate...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
}
}
public void commandStatusReceived(FTPStatusEvent statusevent) { final String message = statusevent.getMessage() + '\n'; Runnable cdp = new Runnable () { public void run() { taskOutput.setText( taskOutput.getText() + message); } }; SwingUtilities.invokeLate...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
taskOutput.setText( taskOutput.getText() + message); }
taskOutput.setText(taskOutput.getText() + message); }
public void run() { taskOutput.setText( taskOutput.getText() + message); }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
progressBar = new JProgressBar(0, 0); progressBar.setValue(0);
progressBar = new JProgressBar(0, 0); progressBar.setValue(0);
private void createProgressMonitor() { progressBar = new JProgressBar(0, 0); progressBar.setValue(0); taskOutput = new JTextArea(5, 20); taskOutput.setMargin(new Insets(5,5,5,5)); taskOutput.setEditable(false); JPanel panel = new JPanel(); note = new JLabel(); note.setForegrou...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
taskOutput = new JTextArea(5, 20); taskOutput.setMargin(new Insets(5,5,5,5)); taskOutput.setEditable(false);
taskOutput = new JTextArea(5, 20); taskOutput.setMargin(new Insets(5, 5, 5, 5)); taskOutput.setEditable(false);
private void createProgressMonitor() { progressBar = new JProgressBar(0, 0); progressBar.setValue(0); taskOutput = new JTextArea(5, 20); taskOutput.setMargin(new Insets(5,5,5,5)); taskOutput.setEditable(false); JPanel panel = new JPanel(); note = new JLabel(); note.setForegrou...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
JPanel panel = new JPanel(); note = new JLabel(); note.setForeground(Color.blue); label = new JLabel(); label.setForeground(Color.blue); panel.setLayout(new BorderLayout()); panel.add(label,BorderLayout.NORTH); panel.add(note,BorderLayout.CENTER); panel.add(progressBar,BorderLayout.SOUTH);
JPanel panel = new JPanel(); note = new JLabel(); note.setForeground(Color.blue); label = new JLabel(); label.setForeground(Color.blue); panel.setLayout(new BorderLayout()); panel.add(label, BorderLayout.NORTH); panel.add(note, BorderLayout.CENTER); panel.add(progressBar, BorderLayout.SOUTH);
private void createProgressMonitor() { progressBar = new JProgressBar(0, 0); progressBar.setValue(0); taskOutput = new JTextArea(5, 20); taskOutput.setMargin(new Insets(5,5,5,5)); taskOutput.setEditable(false); JPanel panel = new JPanel(); note = new JLabel(); note.setForegrou...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
JPanel contentPane = new JPanel(); contentPane.setLayout(new BorderLayout()); contentPane.add(panel, BorderLayout.NORTH); contentPane.add(new JScrollPane(taskOutput), BorderLayout.CENTER);
JPanel contentPane = new JPanel(); contentPane.setLayout(new BorderLayout()); contentPane.add(panel, BorderLayout.NORTH); contentPane.add(new JScrollPane(taskOutput), BorderLayout.CENTER);
private void createProgressMonitor() { progressBar = new JProgressBar(0, 0); progressBar.setValue(0); taskOutput = new JTextArea(5, 20); taskOutput.setMargin(new Insets(5,5,5,5)); taskOutput.setEditable(false); JPanel panel = new JPanel(); note = new JLabel(); note.setForegrou...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
monitor = new ProgressOptionPane(contentPane);
monitor = new ProgressOptionPane(contentPane);
private void createProgressMonitor() { progressBar = new JProgressBar(0, 0); progressBar.setValue(0); taskOutput = new JTextArea(5, 20); taskOutput.setMargin(new Insets(5,5,5,5)); taskOutput.setEditable(false); JPanel panel = new JPanel(); note = new JLabel(); note.setForegrou...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
taskOutput.setRows(6);
taskOutput.setRows(6);
private void createProgressMonitor() { progressBar = new JProgressBar(0, 0); progressBar.setValue(0); taskOutput = new JTextArea(5, 20); taskOutput.setMargin(new Insets(5,5,5,5)); taskOutput.setEditable(false); JPanel panel = new JPanel(); note = new JLabel(); note.setForegrou...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
dialog = monitor.createDialog(this,LangTool.getString("xtfr.progressTitle"));
dialog = monitor.createDialog( this, LangTool.getString("xtfr.progressTitle"));
private void createProgressMonitor() { progressBar = new JProgressBar(0, 0); progressBar.setValue(0); taskOutput = new JTextArea(5, 20); taskOutput.setMargin(new Insets(5,5,5,5)); taskOutput.setEditable(false); JPanel panel = new JPanel(); note = new JLabel(); note.setForegrou...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
}
}
private void createProgressMonitor() { progressBar = new JProgressBar(0, 0); progressBar.setValue(0); taskOutput = new JTextArea(5, 20); taskOutput.setMargin(new Insets(5,5,5,5)); taskOutput.setEditable(false); JPanel panel = new JPanel(); note = new JLabel(); note.setForegrou...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
ftpProtocol.disconnect(); ftpProtocol = null;
ftpProtocol.disconnect(); ftpProtocol = null;
private void disconnect() { ftpProtocol.disconnect(); ftpProtocol = null; }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
}
}
private void disconnect() { ftpProtocol.disconnect(); ftpProtocol = null; }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
progressBar.setMaximum(ftpProtocol.getFileSize()); progressBar.setStringPainted(true);
progressBar.setMaximum(ftpProtocol.getFileSize()); progressBar.setStringPainted(true);
private void doTransfer() { progressBar.setMaximum(ftpProtocol.getFileSize()); progressBar.setStringPainted(true); fileFilter = getFilterByDescription(); if (useQuery.isSelected()) { axtfr.setOutputFilter(fileFilter.getOutputFilterInstance()); axtfr.getFile(hostFile.getText(), ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
fileFilter = getFilterByDescription();
fileFilter = getFilterByDescription();
private void doTransfer() { progressBar.setMaximum(ftpProtocol.getFileSize()); progressBar.setStringPainted(true); fileFilter = getFilterByDescription(); if (useQuery.isSelected()) { axtfr.setOutputFilter(fileFilter.getOutputFilterInstance()); axtfr.getFile(hostFile.getText(), ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (useQuery.isSelected()) {
if (useQuery.isSelected()) {
private void doTransfer() { progressBar.setMaximum(ftpProtocol.getFileSize()); progressBar.setStringPainted(true); fileFilter = getFilterByDescription(); if (useQuery.isSelected()) { axtfr.setOutputFilter(fileFilter.getOutputFilterInstance()); axtfr.getFile(hostFile.getText(), ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
axtfr.setOutputFilter(fileFilter.getOutputFilterInstance()); axtfr.getFile(hostFile.getText(), fileFilter.setExtension(localFile.getText()), queryStatement.getText().trim(), intDesc.isSelected());
axtfr.setOutputFilter(fileFilter.getOutputFilterInstance()); axtfr.getFile( hostFile.getText(), fileFilter.setExtension(localFile.getText()), queryStatement.getText().trim(), intDesc.isSelected());
private void doTransfer() { progressBar.setMaximum(ftpProtocol.getFileSize()); progressBar.setStringPainted(true); fileFilter = getFilterByDescription(); if (useQuery.isSelected()) { axtfr.setOutputFilter(fileFilter.getOutputFilterInstance()); axtfr.getFile(hostFile.getText(), ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
} else { ftpProtocol.setOutputFilter(fileFilter.getOutputFilterInstance());
} else { ftpProtocol.setOutputFilter(fileFilter.getOutputFilterInstance());
private void doTransfer() { progressBar.setMaximum(ftpProtocol.getFileSize()); progressBar.setStringPainted(true); fileFilter = getFilterByDescription(); if (useQuery.isSelected()) { axtfr.setOutputFilter(fileFilter.getOutputFilterInstance()); axtfr.getFile(hostFile.getText(), ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
ftpProtocol.getFile(hostFile.getText(), fileFilter.setExtension(localFile.getText())); } }
ftpProtocol.getFile( hostFile.getText(), fileFilter.setExtension(localFile.getText())); } }
private void doTransfer() { progressBar.setMaximum(ftpProtocol.getFileSize()); progressBar.setStringPainted(true); fileFilter = getFilterByDescription(); if (useQuery.isSelected()) { axtfr.setOutputFilter(fileFilter.getOutputFilterInstance()); axtfr.getFile(hostFile.getText(), ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
SendEMailDialog semd = new SendEMailDialog((Frame)(this.getParent()) ,session ,localFile.getText());
SendEMailDialog semd = new SendEMailDialog( (Frame) (this.getParent()), session, localFile.getText());
private void emailMe() { SendEMailDialog semd = new SendEMailDialog((Frame)(this.getParent()) ,session ,localFile.getText()); }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
}
}
private void emailMe() { SendEMailDialog semd = new SendEMailDialog((Frame)(this.getParent()) ,session ,localFile.getText()); }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
hostFile.setText(ftpProtocol.getFullFileName(hostFile.getText()));
hostFile.setText(ftpProtocol.getFullFileName(hostFile.getText()));
public void fileInfoReceived(FTPStatusEvent statusevent) { hostFile.setText(ftpProtocol.getFullFileName(hostFile.getText())); if (allFields.isSelected()) { doTransfer(); } else { selectFields(); } }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (allFields.isSelected()) { doTransfer(); } else { selectFields(); } }
if (allFields.isSelected()) { doTransfer(); } else { selectFields(); } }
public void fileInfoReceived(FTPStatusEvent statusevent) { hostFile.setText(ftpProtocol.getFullFileName(hostFile.getText())); if (allFields.isSelected()) { doTransfer(); } else { selectFields(); } }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
String ds = (String)decimalSeparator.getSelectedItem(); return ds.charAt(1); }
String ds = (String) decimalSeparator.getSelectedItem(); return ds.charAt(1); }
private char getDecimalChar() { String ds = (String)decimalSeparator.getSelectedItem(); return ds.charAt(1); }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
String desc = (String)fileFormat.getSelectedItem();
String desc = (String) fileFormat.getSelectedItem();
private XTFRFileFilter getFilterByDescription() { String desc = (String)fileFormat.getSelectedItem();// if (filter.getDescription().equals(desc))// return filter; if (KSpreadFilter.getDescription().equals(desc)) return KSpreadFilter; if (OOFilter.getDescription().equals(desc)) ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
private XTFRFileFilter getFilterByDescription() { String desc = (String)fileFormat.getSelectedItem();// if (filter.getDescription().equals(desc))// return filter; if (KSpreadFilter.getDescription().equals(desc)) return KSpreadFilter; if (OOFilter.getDescription().equals(desc)) ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (KSpreadFilter.getDescription().equals(desc)) return KSpreadFilter; if (OOFilter.getDescription().equals(desc)) return OOFilter; if (ExcelFilter.getDescription().equals(desc)) return ExcelFilter; if (DelimitedFilter.getDescription().equals(desc)) return DelimitedFilter; if (FixedWidthFilter.getDescription().equals(d...
if (KSpreadFilter.getDescription().equals(desc)) return KSpreadFilter; if (OOFilter.getDescription().equals(desc)) return OOFilter; if (ExcelFilter.getDescription().equals(desc)) return ExcelFilter; if (DelimitedFilter.getDescription().equals(desc)) return DelimitedFilter; if (FixedWidthFilter.getDescription().equals(d...
private XTFRFileFilter getFilterByDescription() { String desc = (String)fileFormat.getSelectedItem();// if (filter.getDescription().equals(desc))// return filter; if (KSpreadFilter.getDescription().equals(desc)) return KSpreadFilter; if (OOFilter.getDescription().equals(desc)) ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
return htmlFilter; }
return htmlFilter; }
private XTFRFileFilter getFilterByDescription() { String desc = (String)fileFormat.getSelectedItem();// if (filter.getDescription().equals(desc))// return filter; if (KSpreadFilter.getDescription().equals(desc)) return KSpreadFilter; if (OOFilter.getDescription().equals(desc)) ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (filter != null && filter.isExtensionInList(localFile.getText())) return filter;
if (filter != null && filter.isExtensionInList(localFile.getText())) return filter;
private XTFRFileFilter getFilterByExtension() { if (filter != null && filter.isExtensionInList(localFile.getText())) return filter; if (KSpreadFilter.isExtensionInList(localFile.getText())) return KSpreadFilter; if (OOFilter.isExtensionInList(localFile.getText())) return OOFilt...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (KSpreadFilter.isExtensionInList(localFile.getText())) return KSpreadFilter; if (OOFilter.isExtensionInList(localFile.getText())) return OOFilter; if (ExcelFilter.isExtensionInList(localFile.getText())) return ExcelFilter; if (DelimitedFilter.isExtensionInList(localFile.getText())) return DelimitedFilter; if (FixedW...
if (KSpreadFilter.isExtensionInList(localFile.getText())) return KSpreadFilter; if (OOFilter.isExtensionInList(localFile.getText())) return OOFilter; if (ExcelFilter.isExtensionInList(localFile.getText())) return ExcelFilter; if (DelimitedFilter.isExtensionInList(localFile.getText())) return DelimitedFilter; if (FixedW...
private XTFRFileFilter getFilterByExtension() { if (filter != null && filter.isExtensionInList(localFile.getText())) return filter; if (KSpreadFilter.isExtensionInList(localFile.getText())) return KSpreadFilter; if (OOFilter.isExtensionInList(localFile.getText())) return OOFilt...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
return htmlFilter; }
return htmlFilter; }
private XTFRFileFilter getFilterByExtension() { if (filter != null && filter.isExtensionInList(localFile.getText())) return filter; if (KSpreadFilter.isExtensionInList(localFile.getText())) return KSpreadFilter; if (OOFilter.isExtensionInList(localFile.getText())) return OOFilt...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
String workingDir = System.getProperty("user.dir"); TN5250jFileChooser pcFileChooser = new TN5250jFileChooser(workingDir);
String workingDir = System.getProperty("user.dir"); TN5250jFileChooser pcFileChooser = new TN5250jFileChooser(workingDir);
private void getPCFile() { String workingDir = System.getProperty("user.dir"); TN5250jFileChooser pcFileChooser = new TN5250jFileChooser(workingDir); // set the file filters for the file chooser filter = getFilterByDescription(); pcFileChooser.addChoosableFileFilter(filter); int ret = p...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
filter = getFilterByDescription();
filter = getFilterByDescription();
private void getPCFile() { String workingDir = System.getProperty("user.dir"); TN5250jFileChooser pcFileChooser = new TN5250jFileChooser(workingDir); // set the file filters for the file chooser filter = getFilterByDescription(); pcFileChooser.addChoosableFileFilter(filter); int ret = p...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
pcFileChooser.addChoosableFileFilter(filter);
pcFileChooser.addChoosableFileFilter(filter);
private void getPCFile() { String workingDir = System.getProperty("user.dir"); TN5250jFileChooser pcFileChooser = new TN5250jFileChooser(workingDir); // set the file filters for the file chooser filter = getFilterByDescription(); pcFileChooser.addChoosableFileFilter(filter); int ret = p...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
int ret = pcFileChooser.showSaveDialog(this);
int ret = pcFileChooser.showSaveDialog(this);
private void getPCFile() { String workingDir = System.getProperty("user.dir"); TN5250jFileChooser pcFileChooser = new TN5250jFileChooser(workingDir); // set the file filters for the file chooser filter = getFilterByDescription(); pcFileChooser.addChoosableFileFilter(filter); int ret = p...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (ret == JFileChooser.APPROVE_OPTION) { File file = pcFileChooser.getSelectedFile(); filter = null; if (pcFileChooser.getFileFilter() instanceof XTFRFileFilter ) filter = (XTFRFileFilter)pcFileChooser.getFileFilter(); else filter = htmlFilter;
if (ret == JFileChooser.APPROVE_OPTION) { File file = pcFileChooser.getSelectedFile(); filter = null; if (pcFileChooser.getFileFilter() instanceof XTFRFileFilter) filter = (XTFRFileFilter) pcFileChooser.getFileFilter(); else filter = htmlFilter;
private void getPCFile() { String workingDir = System.getProperty("user.dir"); TN5250jFileChooser pcFileChooser = new TN5250jFileChooser(workingDir); // set the file filters for the file chooser filter = getFilterByDescription(); pcFileChooser.addChoosableFileFilter(filter); int ret = p...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
localFile.setText(filter.setExtension(file));
localFile.setText(filter.setExtension(file));
private void getPCFile() { String workingDir = System.getProperty("user.dir"); TN5250jFileChooser pcFileChooser = new TN5250jFileChooser(workingDir); // set the file filters for the file chooser filter = getFilterByDescription(); pcFileChooser.addChoosableFileFilter(filter); int ret = p...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
}
}
private void getPCFile() { String workingDir = System.getProperty("user.dir"); TN5250jFileChooser pcFileChooser = new TN5250jFileChooser(workingDir); // set the file filters for the file chooser filter = getFilterByDescription(); pcFileChooser.addChoosableFileFilter(filter); int ret = p...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
}
}
private void getPCFile() { String workingDir = System.getProperty("user.dir"); TN5250jFileChooser pcFileChooser = new TN5250jFileChooser(workingDir); // set the file filters for the file chooser filter = getFilterByDescription(); pcFileChooser.addChoosableFileFilter(filter); int ret = p...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
Object[] args = {Integer.toString(prog),Integer.toString(len)};
Object[] args = { Integer.toString(prog), Integer.toString(len)};
private String getProgressNote(int prog, int len) { Object[] args = {Integer.toString(prog),Integer.toString(len)}; try { return MessageFormat.format(messageProgress,args); } catch (Exception exc) { System.out.println(" getProgressNote: " + exc.getMessage()); return "Recor...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
try { return MessageFormat.format(messageProgress,args); } catch (Exception exc) { System.out.println(" getProgressNote: " + exc.getMessage()); return "Record " + prog + " of " + len; } }
try { return MessageFormat.format(messageProgress, args); } catch (Exception exc) { System.out.println(" getProgressNote: " + exc.getMessage()); return "Record " + prog + " of " + len; } }
private String getProgressNote(int prog, int len) { Object[] args = {Integer.toString(prog),Integer.toString(len)}; try { return MessageFormat.format(messageProgress,args); } catch (Exception exc) { System.out.println(" getProgressNote: " + exc.getMessage()); return "Recor...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
Object[] args = {Integer.toString(len)};
Object[] args = { Integer.toString(len)};
private String getTransferredNote(int len) { Object[] args = {Integer.toString(len)}; try { return MessageFormat.format( LangTool.getString("xtfr.messageTransferred"), args); } catch (Exception exc) { System.out.println(" getT...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
try { return MessageFormat.format( LangTool.getString("xtfr.messageTransferred"), args); } catch (Exception exc) { System.out.println(" getTransferredNote: " + exc.getMessage()); return len + " records transferred!"; } }
try { return MessageFormat.format( LangTool.getString("xtfr.messageTransferred"), args); } catch (Exception exc) { System.out.println(" getTransferredNote: " + exc.getMessage()); return len + " records transferred!"; } }
private String getTransferredNote(int len) { Object[] args = {Integer.toString(len)}; try { return MessageFormat.format( LangTool.getString("xtfr.messageTransferred"), args); } catch (Exception exc) { System.out.println(" getT...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
htmlFilter = new XTFRFileFilter(new String[] {"html", "htm"}, "Hyper Text Markup Language"); htmlFilter.setOutputFilterName("org.tn5250j.tools.filters.HTMLOutputFilter"); KSpreadFilter = new XTFRFileFilter("ksp", "KSpread KDE Spreadsheet"); KSpreadFilter.setOutputFilterName("org.tn5250j.tools.filters.KSpreadOutputFilte...
htmlFilter = new XTFRFileFilter( new String[] { "html", "htm" }, "Hyper Text Markup Language"); htmlFilter.setOutputFilterName( "org.tn5250j.tools.filters.HTMLOutputFilter"); KSpreadFilter = new XTFRFileFilter("ksp", "KSpread KDE Spreadsheet"); KSpreadFilter.setOutputFilterName( "org.tn5250j.tools.filters.KSpreadOutput...
private void initFileFilters() { htmlFilter = new XTFRFileFilter(new String[] {"html", "htm"}, "Hyper Text Markup Language"); htmlFilter.setOutputFilterName("org.tn5250j.tools.filters.HTMLOutputFilter"); KSpreadFilter = new XTFRFileFilter("ksp", "KSpread KDE Spreadsheet"); KSpreadFilter.setOutput...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
SessionConfig config = session.getConfiguration(); Properties props = config.getProperties();
SessionConfig config = session.getConfiguration(); Properties props = config.getProperties();
private void initXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName")); if (props.containsKey("xtfr.user")) user.setText(props.getPro...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName"));
if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName"));
private void initXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName")); if (props.containsKey("xtfr.user")) user.setText(props.getPro...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (props.containsKey("xtfr.user")) user.setText(props.getProperty("xtfr.user"));
if (props.containsKey("xtfr.user")) user.setText(props.getProperty("xtfr.user"));
private void initXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName")); if (props.containsKey("xtfr.user")) user.setText(props.getPro...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (props.containsKey("xtfr.useQuery")) { if (props.getProperty("xtfr.useQuery").equals("true")) useQuery.setSelected(true); else useQuery.setSelected(false); }
if (props.containsKey("xtfr.useQuery")) { if (props.getProperty("xtfr.useQuery").equals("true")) useQuery.setSelected(true); else useQuery.setSelected(false); }
private void initXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName")); if (props.containsKey("xtfr.user")) user.setText(props.getPro...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (props.containsKey("xtfr.queryStatement")) { queryStatement.setText(props.getProperty("xtfr.queryStatement")); }
if (props.containsKey("xtfr.queryStatement")) { queryStatement.setText(props.getProperty("xtfr.queryStatement")); }
private void initXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName")); if (props.containsKey("xtfr.user")) user.setText(props.getPro...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (props.containsKey("xtfr.allFields")) { if (props.getProperty("xtfr.allFields").equals("true")) allFields.setSelected(true); else allFields.setSelected(false); }
if (props.containsKey("xtfr.allFields")) { if (props.getProperty("xtfr.allFields").equals("true")) allFields.setSelected(true); else allFields.setSelected(false); }
private void initXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName")); if (props.containsKey("xtfr.user")) user.setText(props.getPro...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (props.containsKey("xtfr.txtDesc")) { if (props.getProperty("xtfr.txtDesc").equals("true")) txtDesc.setSelected(true); else txtDesc.setSelected(false); }
if (props.containsKey("xtfr.txtDesc")) { if (props.getProperty("xtfr.txtDesc").equals("true")) txtDesc.setSelected(true); else txtDesc.setSelected(false); }
private void initXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName")); if (props.containsKey("xtfr.user")) user.setText(props.getPro...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (props.containsKey("xtfr.fileFormat")) fileFormat.setSelectedItem(props.getProperty("xtfr.fileFormat"));
if (props.containsKey("xtfr.fileFormat")) fileFormat.setSelectedItem(props.getProperty("xtfr.fileFormat"));
private void initXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName")); if (props.containsKey("xtfr.user")) user.setText(props.getPro...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (props.containsKey("xtfr.localFile")) localFile.setText(props.getProperty("xtfr.localFile"));
if (props.containsKey("xtfr.localFile")) localFile.setText(props.getProperty("xtfr.localFile"));
private void initXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName")); if (props.containsKey("xtfr.user")) user.setText(props.getPro...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (props.containsKey("xtfr.decimalSeparator")) decimalSeparator.setSelectedItem(props.get("xtfr.decimalSeparator"));
if (props.containsKey("xtfr.decimalSeparator")) decimalSeparator.setSelectedItem( props.get("xtfr.decimalSeparator"));
private void initXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName")); if (props.containsKey("xtfr.user")) user.setText(props.getPro...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
}
}
private void initXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (props.containsKey("xtfr.fileName")) hostFile.setText(props.getProperty("xtfr.fileName")); if (props.containsKey("xtfr.user")) user.setText(props.getPro...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
BorderLayout borderLayout = new BorderLayout(); Border etchedBorder = BorderFactory.createEtchedBorder(); JPanel mp = new JPanel(); mp.setLayout(borderLayout); JPanel sp = new JPanel(); sp.setLayout(new BorderLayout()); sp.setBorder(etchedBorder); as400p = new JPanel(); as400p.setBorder(BorderFactory.createTitle...
BorderLayout borderLayout = new BorderLayout(); Border emptyBorder = BorderFactory.createEmptyBorder(10, 10, 0, 10); JPanel mp = new JPanel(); mp.setLayout(borderLayout); JPanel sp = new JPanel(); sp.setLayout(new BorderLayout()); sp.setBorder(emptyBorder); as400p = new JPanel(); as400p.setBorder( BorderFactory....
private void initXTFRInfo() { // create some reusable borders and layouts BorderLayout borderLayout = new BorderLayout(); Border etchedBorder = BorderFactory.createEtchedBorder(); // main panel JPanel mp = new JPanel(); mp.setLayout(borderLayout); // system panel JPanel sp = n...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
startWizard(); }
startWizard(); }
public void actionPerformed(ActionEvent e) { startWizard(); }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
JComboBox cb = (JComboBox)e.getSource(); filter = getFilterByDescription(); if (filter.getOutputFilterInstance().isCustomizable()) customize.setEnabled(true); else customize.setEnabled(false); }
JComboBox cb = (JComboBox) e.getSource(); filter = getFilterByDescription(); if (filter.getOutputFilterInstance().isCustomizable()) customize.setEnabled(true); else customize.setEnabled(false); }
public void actionPerformed(ActionEvent e) { JComboBox cb = (JComboBox)e.getSource(); filter = getFilterByDescription(); if (filter.getOutputFilterInstance().isCustomizable()) customize.setEnabled(true); else customize.setEnabled(false); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
progressBar.setValue(0); progressBar.setMinimum(0); progressBar.setMaximum(0); label.setText(LangTool.getString("xtfr.labelInProgress")); note.setText(LangTool.getString("xtfr.labelFileInfo")); progressBar.setStringPainted(false); monitor.reset();
progressBar.setValue(0); progressBar.setMinimum(0); progressBar.setMaximum(0); label.setText(LangTool.getString("xtfr.labelInProgress")); note.setText(LangTool.getString("xtfr.labelFileInfo")); progressBar.setStringPainted(false); monitor.reset();
private void initializeMonitor() { progressBar.setValue(0); progressBar.setMinimum(0); progressBar.setMaximum(0); label.setText(LangTool.getString("xtfr.labelInProgress")); note.setText(LangTool.getString("xtfr.labelFileInfo")); progressBar.setStringPainted(false); monitor.reset();...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
}
}
private void initializeMonitor() { progressBar.setValue(0); progressBar.setMinimum(0); progressBar.setMaximum(0); label.setText(LangTool.getString("xtfr.labelInProgress")); note.setText(LangTool.getString("xtfr.labelFileInfo")); progressBar.setStringPainted(false); monitor.reset();...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
Object source = e.getItemSelectable(); if (source == useQuery) { if (useQuery.isSelected()) { queryWizard.setEnabled(true); as400p.remove(as400FieldP); as400p.add(as400QueryP,BorderLayout.SOUTH); } else { queryWizard.setEnabled(false); as400p.remove(as400QueryP); as400p.add(as400FieldP,BorderLayout.SOUTH); } this.valid...
Object source = e.getItemSelectable(); if (source == useQuery) { if (useQuery.isSelected()) { queryWizard.setEnabled(true); as400p.remove(as400FieldP); as400p.add(as400QueryP, BorderLayout.SOUTH); } else { queryWizard.setEnabled(false); as400p.remove(as400QueryP); as400p.add(as400FieldP, BorderLayout.SOUTH); } this.val...
public void itemStateChanged(ItemEvent e) { Object source = e.getItemSelectable(); if (source == useQuery) { if (useQuery.isSelected()) { queryWizard.setEnabled(true); as400p.remove(as400FieldP); as400p.add(as400QueryP,BorderLayout.SOUTH); } else { ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
SessionConfig config = session.getConfiguration(); Properties props = config.getProperties();
SessionConfig config = session.getConfiguration(); Properties props = config.getProperties();
private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName");
if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName", hostFile.getText().trim()); else props.remove("xtfr.fileName");
private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (user.getText().trim().length() > 0) props.setProperty("xtfr.user",user.getText().trim()); else props.remove("xtfr.user");
if (user.getText().trim().length() > 0) props.setProperty("xtfr.user", user.getText().trim()); else props.remove("xtfr.user");
private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (useQuery.isSelected()) props.setProperty("xtfr.useQuery","true"); else props.remove("xtfr.useQuery");
if (useQuery.isSelected()) props.setProperty("xtfr.useQuery", "true"); else props.remove("xtfr.useQuery");
private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (queryStatement.getText().trim().length() > 0) props.setProperty("xtfr.queryStatement",queryStatement.getText().trim()); else props.remove("xtfr.queryStatement");
if (queryStatement.getText().trim().length() > 0) props.setProperty( "xtfr.queryStatement", queryStatement.getText().trim()); else props.remove("xtfr.queryStatement");
private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (allFields.isSelected()) props.setProperty("xtfr.allFields","true"); else props.remove("xtfr.allFields");
if (allFields.isSelected()) props.setProperty("xtfr.allFields", "true"); else props.remove("xtfr.allFields");
private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (txtDesc.isSelected()) props.setProperty("xtfr.txtDesc","true"); else props.remove("xtfr.txtDesc");
if (txtDesc.isSelected()) props.setProperty("xtfr.txtDesc", "true"); else props.remove("xtfr.txtDesc");
private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
props.setProperty("xtfr.fileFormat",(String)fileFormat.getSelectedItem());
props.setProperty( "xtfr.fileFormat", (String) fileFormat.getSelectedItem());
private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (localFile.getText().trim().length() > 0) props.setProperty("xtfr.localFile",localFile.getText().trim()); else props.remove("xtfr.localFile");
if (localFile.getText().trim().length() > 0) props.setProperty("xtfr.localFile", localFile.getText().trim()); else props.remove("xtfr.localFile");
private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
props.setProperty("xtfr.decimalSeparator",(String)decimalSeparator.getSelectedItem());
props.setProperty( "xtfr.decimalSeparator", (String) decimalSeparator.getSelectedItem());
private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
config.setModified();
config.setModified();
private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
}
}
private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
FFDTableModel ffdtm = new FFDTableModel();
FFDTableModel ffdtm = new FFDTableModel();
private void selectFields() { FFDTableModel ffdtm = new FFDTableModel(); //Create table to hold field data JTable fields = new JTable(ffdtm); fields.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); fields.setPreferredScrollableViewportSize(new Dimension(500,200)); //Create the scr...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
JTable fields = new JTable(ffdtm); fields.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); fields.setPreferredScrollableViewportSize(new Dimension(500,200));
JTable fields = new JTable(ffdtm); fields.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); fields.setPreferredScrollableViewportSize(new Dimension(500, 200));
private void selectFields() { FFDTableModel ffdtm = new FFDTableModel(); //Create table to hold field data JTable fields = new JTable(ffdtm); fields.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); fields.setPreferredScrollableViewportSize(new Dimension(500,200)); //Create the scr...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
JScrollPane scrollPane = new JScrollPane(fields); scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
JScrollPane scrollPane = new JScrollPane(fields); scrollPane.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); scrollPane.setHorizontalScrollBarPolicy( JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
private void selectFields() { FFDTableModel ffdtm = new FFDTableModel(); //Create table to hold field data JTable fields = new JTable(ffdtm); fields.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); fields.setPreferredScrollableViewportSize(new Dimension(500,200)); //Create the scr...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
JPanel jpm = new JPanel(); jpm.add(scrollPane);
JPanel jpm = new JPanel(); jpm.add(scrollPane);
private void selectFields() { FFDTableModel ffdtm = new FFDTableModel(); //Create table to hold field data JTable fields = new JTable(ffdtm); fields.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); fields.setPreferredScrollableViewportSize(new Dimension(500,200)); //Create the scr...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
Object[] message = new Object[1]; message[0] = jpm; String[] options = {LangTool.getString("xtfr.tableSelectAll"), LangTool.getString("xtfr.tableSelectNone"), LangTool.getString("xtfr.tableDone") };
Object[] message = new Object[1]; message[0] = jpm; String[] options = { LangTool.getString("xtfr.tableSelectAll"), LangTool.getString("xtfr.tableSelectNone"), LangTool.getString("xtfr.tableDone")};
private void selectFields() { FFDTableModel ffdtm = new FFDTableModel(); //Create table to hold field data JTable fields = new JTable(ffdtm); fields.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); fields.setPreferredScrollableViewportSize(new Dimension(500,200)); //Create the scr...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
int result = 0; while (result != 2) { result = JOptionPane.showOptionDialog( null, message, LangTool.getString("xtfr.titleFieldSelection"), JOptionPane.DEFAULT_OPTION, JOptionPane.PLAIN_MESSAGE, null, options, options[1] );
int result = 0; while (result != 2) { result = JOptionPane.showOptionDialog(null, message, LangTool.getString("xtfr.titleFieldSelection"), JOptionPane.DEFAULT_OPTION, JOptionPane.PLAIN_MESSAGE, null, options, options[1] );
private void selectFields() { FFDTableModel ffdtm = new FFDTableModel(); //Create table to hold field data JTable fields = new JTable(ffdtm); fields.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); fields.setPreferredScrollableViewportSize(new Dimension(500,200)); //Create the scr...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
switch(result) { case 0: ftpProtocol.selectAll(); break; case 1: ftpProtocol.selectNone(); break; default: fieldsSelected = ftpProtocol.isFieldsSelected(); if (ftpProtocol.isFieldsSelected()) doTransfer(); break; } } }
switch (result) { case 0 : ftpProtocol.selectAll(); break; case 1 : ftpProtocol.selectNone(); break; default : fieldsSelected = ftpProtocol.isFieldsSelected(); if (ftpProtocol.isFieldsSelected()) doTransfer(); break; } } }
private void selectFields() { FFDTableModel ffdtm = new FFDTableModel(); //Create table to hold field data JTable fields = new JTable(ffdtm); fields.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); fields.setPreferredScrollableViewportSize(new Dimension(500,200)); //Create the scr...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
try { SqlWizard wizard = new SqlWizard(systemName.getText().trim(), user.getText(), new String(password.getPassword()));
try { SqlWizard wizard = new SqlWizard( systemName.getText().trim(), user.getText(), new String(password.getPassword()));
private void startWizard() { try { SqlWizard wizard = new SqlWizard(systemName.getText().trim(), user.getText(), new String(password.getPassword())); wizard.setQueryTextArea(queryStatement); } catch (NoCl...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
wizard.setQueryTextArea(queryStatement); } catch (NoClassDefFoundError ncdfe) { JOptionPane.showMessageDialog(this, LangTool.getString("messages.noAS400Toolbox"), "Error", JOptionPane.ERROR_MESSAGE,null); } catch (Exception e) { System.out.println(e.getMessage()); } }
wizard.setQueryTextArea(queryStatement); } catch (NoClassDefFoundError ncdfe) { JOptionPane.showMessageDialog( this, LangTool.getString("messages.noAS400Toolbox"), "Error", JOptionPane.ERROR_MESSAGE, null); } catch (Exception e) { System.out.println(e.getMessage()); } }
private void startWizard() { try { SqlWizard wizard = new SqlWizard(systemName.getText().trim(), user.getText(), new String(password.getPassword())); wizard.setQueryTextArea(queryStatement); } catch (NoCl...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (monitor.isCanceled()) { ftpProtocol.setAborted(); } else { final int prog = statusevent.getCurrentRecord(); final int len = statusevent.getFileLength(); Runnable udp = new Runnable () { public void run() {
if (monitor.isCanceled()) { ftpProtocol.setAborted(); } else { final int prog = statusevent.getCurrentRecord(); final int len = statusevent.getFileLength(); Runnable udp = new Runnable() { public void run() {
public void statusReceived(FTPStatusEvent statusevent) { if (monitor.isCanceled()) { ftpProtocol.setAborted(); } else { final int prog = statusevent.getCurrentRecord(); final int len = statusevent.getFileLength(); Runnable udp = new Runnable () { public void ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (prog >= len) {
if (prog >= len) {
public void statusReceived(FTPStatusEvent statusevent) { if (monitor.isCanceled()) { ftpProtocol.setAborted(); } else { final int prog = statusevent.getCurrentRecord(); final int len = statusevent.getFileLength(); Runnable udp = new Runnable () { public void ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
progressBar.setValue(len); label.setText(LangTool.getString("xtfr.labelComplete")); note.setText(getTransferredNote(len)); monitor.setDone(); if (emailIt) emailMe();
progressBar.setValue(len); label.setText(LangTool.getString("xtfr.labelComplete")); note.setText(getTransferredNote(len)); monitor.setDone(); if (emailIt) emailMe();
public void statusReceived(FTPStatusEvent statusevent) { if (monitor.isCanceled()) { ftpProtocol.setAborted(); } else { final int prog = statusevent.getCurrentRecord(); final int len = statusevent.getFileLength(); Runnable udp = new Runnable () { public void ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
} else { progressBar.setValue(prog); note.setText(getProgressNote(prog,len)); } } }; SwingUtilities.invokeLater(udp); } }
} else { progressBar.setValue(prog); note.setText(getProgressNote(prog, len)); } } }; SwingUtilities.invokeLater(udp); } }
public void statusReceived(FTPStatusEvent statusevent) { if (monitor.isCanceled()) { ftpProtocol.setAborted(); } else { final int prog = statusevent.getCurrentRecord(); final int len = statusevent.getFileLength(); Runnable udp = new Runnable () { public void ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
if (prog >= len) {
if (prog >= len) {
public void run() { if (prog >= len) { progressBar.setValue(len); label.setText(LangTool.getString("xtfr.labelComplete")); note.setText(getTransferredNote(len)); monitor.setDone(); if (emailIt) ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
progressBar.setValue(len); label.setText(LangTool.getString("xtfr.labelComplete")); note.setText(getTransferredNote(len)); monitor.setDone(); if (emailIt) emailMe();
progressBar.setValue(len); label.setText(LangTool.getString("xtfr.labelComplete")); note.setText(getTransferredNote(len)); monitor.setDone(); if (emailIt) emailMe();
public void run() { if (prog >= len) { progressBar.setValue(len); label.setText(LangTool.getString("xtfr.labelComplete")); note.setText(getTransferredNote(len)); monitor.setDone(); if (emailIt) ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
} else { progressBar.setValue(prog); note.setText(getProgressNote(prog,len)); } }
} else { progressBar.setValue(prog); note.setText(getProgressNote(prog, len)); } }
public void run() { if (prog >= len) { progressBar.setValue(len); label.setText(LangTool.getString("xtfr.labelComplete")); note.setText(getTransferredNote(len)); monitor.setDone(); if (emailIt) ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java
public void start() throws PluginException { try { InitialNaming.bind(NAME, this); WorkUtils.add(new Work("Start device manager") { public void execute() { loadExtensions();
public void start(Device device) throws DeviceNotFoundException, DriverException { getDevice(device.getId()); if (!device.isStarted()) { try { BootLog.debug("Starting " + device.getId()); final StopWatch sw = new StopWatch(); device.start(); sw.stop(); if (sw.isElapsedLongerThen(defaultStartTimeout)) { BootLog.error...
public void start() throws PluginException { try { InitialNaming.bind(NAME, this); WorkUtils.add(new Work("Start device manager") { public void execute() { loadExtensions(); } }); } catch (NamingException ex) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/DefaultDeviceManager.java/clean/core/src/driver/org/jnode/driver/DefaultDeviceManager.java
}); } catch (NamingException ex) { throw new PluginException(ex);
BootLog.debug("Started " + device.getId()); } catch (DriverException ex) { BootLog.error("Cannot start " + device.getId(), ex); } catch (Throwable ex) { BootLog.error("Cannot start " + device.getId(), ex); }
public void start() throws PluginException { try { InitialNaming.bind(NAME, this); WorkUtils.add(new Work("Start device manager") { public void execute() { loadExtensions(); } }); } catch (NamingException ex) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/DefaultDeviceManager.java/clean/core/src/driver/org/jnode/driver/DefaultDeviceManager.java
public void stop() throws PluginException { stopDevices(); InitialNaming.unbind(NAME);
public void stop(Device device) throws DeviceNotFoundException, DriverException { getDevice(device.getId()); if (device.isStarted()) { BootLog.debug("Starting " + device.getId()); device.stop(false); BootLog.debug("Stopped " + device.getId()); }
public void stop() throws PluginException { stopDevices(); InitialNaming.unbind(NAME); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/DefaultDeviceManager.java/clean/core/src/driver/org/jnode/driver/DefaultDeviceManager.java
public DeviceAlreadyRegisteredException(String s) { super(s);
public DeviceAlreadyRegisteredException() { super();
public DeviceAlreadyRegisteredException(String s) { super(s); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/DeviceAlreadyRegisteredException.java/buggy/core/src/driver/org/jnode/driver/DeviceAlreadyRegisteredException.java
public DeviceNotFoundException(String s) { super(s);
public DeviceNotFoundException() { super();
public DeviceNotFoundException(String s) { super(s); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/DeviceNotFoundException.java/buggy/core/src/driver/org/jnode/driver/DeviceNotFoundException.java
if (! m.isComponentPartOfCurrentMenu(target))
if (m.getSelectedPath().length > 0 && ! m.isComponentPartOfCurrentMenu(target) && (((JComponent)target).getClientProperty(DONT_CANCEL_POPUP) == null || !((JComponent)target).getClientProperty(DONT_CANCEL_POPUP).equals(Boolean.TRUE))) {
private void mousePressed(MouseEvent ev) { // Autoclose all menus managed by the MenuSelectionManager. MenuSelectionManager m = MenuSelectionManager.defaultManager(); Component target = ev.getComponent(); if (target instanceof Container) target = ((Container) target).findComponentAt(ev...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
}
private void mousePressed(MouseEvent ev) { // Autoclose all menus managed by the MenuSelectionManager. MenuSelectionManager m = MenuSelectionManager.defaultManager(); Component target = ev.getComponent(); if (target instanceof Container) target = ((Container) target).findComponentAt(ev...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java