/* -*-java-*-
*
- * $Id: AnagGUI.java,v 1.4 2001/02/19 19:19:11 mdw Exp $
+ * $Id: AnagGUI.java,v 1.5 2002/08/11 12:58:09 mdw Exp $
*
* Front-end GUI
*
/*----- Revision history --------------------------------------------------*
*
* $Log: AnagGUI.java,v $
+ * Revision 1.5 2002/08/11 12:58:09 mdw
+ * Added support for regular expression matching, if supported by the C
+ * library.
+ *
* Revision 1.4 2001/02/19 19:19:11 mdw
* Add `help' button. Lowercase input to the command.
*
});
add(b, g);
+ b = new Button("Regexp");
+ b.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) { getlist("-regexp"); }
+ });
+ add(b, g);
+
b = new Button("Trackword");
b.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) { getlist("-trackword"); }