use of javax.swing.JCheckBox in project zaproxy by zaproxy.
the class SearchPanel method getChkInverse.
private JCheckBox getChkInverse() {
if (chkInverse == null) {
chkInverse = new JCheckBox();
chkInverse.setToolTipText(Constant.messages.getString("search.toolbar.tooltip.inverse"));
}
return chkInverse;
}
use of javax.swing.JCheckBox in project zaproxy by zaproxy.
the class OptionsSpiderPanel method getHandleODataSpecificParameters.
/**
* This method initializes the Handle OData-specific parameters checkbox.
*
* @return javax.swing.JCheckBox
*/
private JCheckBox getHandleODataSpecificParameters() {
if (handleODataSpecificParameters == null) {
handleODataSpecificParameters = new JCheckBox();
handleODataSpecificParameters.setText(Constant.messages.getString("spider.options.label.handlehodataparameters"));
}
return handleODataSpecificParameters;
}
use of javax.swing.JCheckBox in project ACS by ACS-Community.
the class FilterDatePanel method createComponents.
/**
* Insert the method's description here.
* Creation date: (2/7/02 11:59:47 AM)
*/
protected void createComponents() {
notCheck = new JCheckBox("Discard entries matching this filter");
notCheck.setToolTipText("Keep/discard entries matching this filter");
add(notCheck, newConstraints(0, 4, 4, 4, 4));
minimumCheck = new JCheckBox("From");
add(minimumCheck, newConstraints(1, 4, 4, 0, 4));
minimum = new DateTimeSelector();
add(minimum, newConstraints(2, 0, 4, 4, 4));
maximumCheck = new JCheckBox("To");
add(maximumCheck, newConstraints(3, 4, 4, 0, 4));
maximum = new DateTimeSelector();
add(maximum, newConstraints(4, 0, 4, 4, 4));
}
use of javax.swing.JCheckBox in project ACS by ACS-Community.
the class SearchDialog method getRegExpCB.
/**
* This method initializes jCheckBox
*
* @return javax.swing.JCheckBox
*/
private JCheckBox getRegExpCB() {
if (regExpCB == null) {
regExpCB = new JCheckBox();
regExpCB.setText("Regular expression");
regExpCB.setToolTipText("Search a regular expression");
regExpCB.addItemListener(new java.awt.event.ItemListener() {
public void itemStateChanged(java.awt.event.ItemEvent e) {
wholeWordCB.setEnabled(!regExpCB.isSelected());
}
});
}
return regExpCB;
}
use of javax.swing.JCheckBox in project zaproxy by zaproxy.
the class MultipleRegexesOptionsPanel method showRemoveDialogue.
@Override
public boolean showRemoveDialogue(String e) {
JCheckBox removeWithoutConfirmationCheckBox = new JCheckBox(REMOVE_DIALOG_CHECKBOX_LABEL);
Object[] messages = { REMOVE_DIALOG_TEXT, " ", removeWithoutConfirmationCheckBox };
int option = JOptionPane.showOptionDialog(View.getSingleton().getMainFrame(), messages, REMOVE_DIALOG_TITLE, JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, new String[] { REMOVE_DIALOG_CONFIRM_BUTTON_LABEL, REMOVE_DIALOG_CANCEL_BUTTON_LABEL }, null);
if (option == JOptionPane.OK_OPTION) {
setRemoveWithoutConfirmation(removeWithoutConfirmationCheckBox.isSelected());
return true;
}
return false;
}
Aggregations