Example #1
0
 public JRadioButton getWildCardsButton() {
   if (wildCardsButton == null) {
     wildCardsButton = new JRadioButton();
     wildCardsButton.setText("Wild Cards");
     wildCardsButton.setMnemonic('i');
     wildCardsButton.setDisplayedMnemonicIndex(1);
     wildCardsButton.addActionListener(this);
   }
   return wildCardsButton;
 }
Example #2
0
 public JRadioButton getRegexButton() {
   if (regexButton == null) {
     regexButton = new JRadioButton();
     regexButton.setText("Regular Expressions");
     regexButton.setMnemonic('x');
     regexButton.setDisplayedMnemonicIndex(9);
     regexButton.addActionListener(this);
   }
   return regexButton;
 }
Example #3
0
 public JRadioButton getLiteralButton() {
   if (literalButton == null) {
     literalButton = new JRadioButton();
     literalButton.setText("Literal");
     literalButton.setMnemonic('L');
     literalButton.setSelected(true);
     literalButton.addActionListener(this);
   }
   return literalButton;
 }