X-Git-Url: https://git.distorted.org.uk/~mdw/anag/blobdiff_plain/de6b7015b91d370f83e4189c05393eefceab0678..d9af4a2b674e5ab91df0f9af236283b617bb81c7:/AnagGUI.java diff --git a/AnagGUI.java b/AnagGUI.java index bf51835..ac4d279 100644 --- a/AnagGUI.java +++ b/AnagGUI.java @@ -1,6 +1,6 @@ /* -*-java-*- * - * $Id: AnagGUI.java,v 1.5 2002/08/11 12:58:09 mdw Exp $ + * $Id: AnagGUI.java,v 1.6 2003/11/29 23:38:37 mdw Exp $ * * Front-end GUI * @@ -29,6 +29,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: AnagGUI.java,v $ + * Revision 1.6 2003/11/29 23:38:37 mdw + * Debianization. + * * Revision 1.5 2002/08/11 12:58:09 mdw * Added support for regular expression matching, if supported by the C * library. @@ -262,12 +265,24 @@ class AnagPanel extends Panel { }); add(b, g); - b = new Button("Regexp"); + b = new Button("Regular expression"); b.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { getlist("-regexp"); } }); add(b, g); + b = new Button("Perl regexp"); + b.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { getlist("-pcre"); } + }); + add(b, g); + + b = new Button("Monoalphabetic"); + b.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { getlist("-mono"); } + }); + add(b, g); + b = new Button("Trackword"); b.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { getlist("-trackword"); }