setLayout (new BoxLayout (this, BoxLayout.Y_AXIS));
// top - regex stuff
JPanel topPanel = new JPanel();
JLabel rLabel = new JLabel ("regex:" );
topPanel.add (rLabel);
regexField = new JTextField (20);
topPanel.add(regexField);
regexButton = new JButton ("Set");
regexButton.addActionListener (this);
topPanel.add (regexButton);
add (topPanel);
// bottom - filterfield
regexDoc =
new RegexConstrainedDocument ();
filterField = new JTextField (regexDoc, "", 50);
add (filterField);