From: amwaterhouse Date: Fri, 7 Apr 2006 13:58:11 +0000 (+0000) Subject: No need for vetoablechange X-Git-Tag: Release_2_08~35 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e4b648dfcb547f15dfc367af777b270509b11d3a;p=jalview.git No need for vetoablechange --- diff --git a/src/jalview/jbgui/GCutAndPasteTransfer.java b/src/jalview/jbgui/GCutAndPasteTransfer.java index a917ebe..6a89e2c 100755 --- a/src/jalview/jbgui/GCutAndPasteTransfer.java +++ b/src/jalview/jbgui/GCutAndPasteTransfer.java @@ -22,8 +22,8 @@ import java.awt.*; import java.awt.event.*; import java.beans.PropertyChangeEvent; -import java.beans.PropertyVetoException; -import java.beans.VetoableChangeListener; +//import java.beans.PropertyVetoException; +//import java.beans.VetoableChangeListener; import javax.swing.*; @@ -91,20 +91,7 @@ public class GCutAndPasteTransfer extends JInternalFrame } }); textarea.setBorder(null); - textarea.addVetoableChangeListener(new VetoableChangeListener() - { - public void vetoableChange(PropertyChangeEvent evt) - { - try - { - textarea_vetoableChange(evt); - } - catch (java.beans.PropertyVetoException exception0) - { - exception0.printStackTrace(); - } - } - }); + selectAll.setText("Select All"); selectAll.addActionListener(new ActionListener() { @@ -196,17 +183,6 @@ public class GCutAndPasteTransfer extends JInternalFrame { } - /** - * DOCUMENT ME! - * - * @param evt DOCUMENT ME! - * - * @throws PropertyVetoException DOCUMENT ME! - */ - public void textarea_vetoableChange(PropertyChangeEvent evt) - throws PropertyVetoException - { - } public void selectAll_actionPerformed(ActionEvent e) {