Revision 2386
Added by Duane Costa about 19 years ago
HarvestListEditor.java | ||
---|---|---|
238 | 238 |
|
239 | 239 |
docPane = new JScrollPane(table); |
240 | 240 |
getContentPane().add(docPane, BorderLayout.CENTER); |
241 |
|
|
242 |
cutButton = new JButton("Cut"); |
|
243 |
copyButton = new JButton("Copy"); |
|
244 |
pasteButton = new JButton("Paste"); |
|
245 |
pasteDefaultsButton = new JButton("Paste Defaults"); |
|
241 | 246 |
|
242 |
cutButton = new JButton("Cut"); |
|
243 |
copyButton = new JButton("Copy"); |
|
244 |
pasteButton = new JButton("Paste"); |
|
245 |
pasteDefaultsButton = new JButton("Paste Defaults"); |
|
246 |
|
|
247 | 247 |
// Action listener for the Copy button. |
248 | 248 |
copyButton.addActionListener(new ActionListener() { |
249 | 249 |
public void actionPerformed(ActionEvent ae) { |
... | ... | |
328 | 328 |
catch (IOException ioe) { |
329 | 329 |
System.out.println("Error creating temporary file: " + ioe.getMessage()); |
330 | 330 |
} |
331 |
|
|
332 |
setVisible(true);
|
|
331 |
|
|
332 |
setVisible(true);
|
|
333 | 333 |
} |
334 | 334 |
|
335 | 335 |
|
Also available in: Unified diff
Formatting improvements.