Search in sources :

Example 61 with JCheckBox

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;
}
Also used : JCheckBox(javax.swing.JCheckBox)

Example 62 with JCheckBox

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;
}
Also used : JCheckBox(javax.swing.JCheckBox)

Example 63 with JCheckBox

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));
}
Also used : JCheckBox(javax.swing.JCheckBox) DateTimeSelector(alma.acs.gui.widgets.DateTimeSelector)

Example 64 with JCheckBox

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;
}
Also used : JCheckBox(javax.swing.JCheckBox)

Example 65 with JCheckBox

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;
}
Also used : JCheckBox(javax.swing.JCheckBox)

Aggregations

JCheckBox (javax.swing.JCheckBox)491 JPanel (javax.swing.JPanel)199 JLabel (javax.swing.JLabel)155 JButton (javax.swing.JButton)108 ActionEvent (java.awt.event.ActionEvent)98 ActionListener (java.awt.event.ActionListener)93 JTextField (javax.swing.JTextField)88 GridBagConstraints (java.awt.GridBagConstraints)82 GridBagLayout (java.awt.GridBagLayout)77 Insets (java.awt.Insets)66 BorderLayout (java.awt.BorderLayout)63 Dimension (java.awt.Dimension)59 BoxLayout (javax.swing.BoxLayout)56 JScrollPane (javax.swing.JScrollPane)38 ItemEvent (java.awt.event.ItemEvent)37 ItemListener (java.awt.event.ItemListener)34 FlowLayout (java.awt.FlowLayout)33 JComboBox (javax.swing.JComboBox)33 JRadioButton (javax.swing.JRadioButton)32 Box (javax.swing.Box)30