// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {

    jLabel2 = new javax.swing.JLabel();
    jLabel3 = new javax.swing.JLabel();
    jLabel4 = new javax.swing.JLabel();

    buttonGroup.add(localChangesRadioButton);
    localChangesRadioButton.setSelected(true);
    java.util.ResourceBundle bundle =
        java.util.ResourceBundle.getBundle(
            "org/netbeans/modules/subversion/ui/update/Bundle"); // NOI18N
    org.openide.awt.Mnemonics.setLocalizedText(
        localChangesRadioButton, bundle.getString("CTL_RevertPanel_RevertLocal")); // NOI18N

    buttonGroup.add(moreCommitsRadioButton);
    org.openide.awt.Mnemonics.setLocalizedText(
        moreCommitsRadioButton, bundle.getString("CTL_RevertPanel_RevertMulti")); // NOI18N

    jLabel2.setLabelFor(startRevisionTextField);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabel2, bundle.getString("CTL_RevertPanel_StartingRevision")); // NOI18N

    startRevisionTextField.setText(SVNRevision.HEAD.toString());
    startRevisionTextField.setToolTipText(
        org.openide.util.NbBundle.getMessage(
            RevertModificationsPanel.class, "CTL_RevertPanel_EmptyHint")); // NOI18N
    startRevisionTextField.setEnabled(false);

    org.openide.awt.Mnemonics.setLocalizedText(
        startSearchButton, bundle.getString("CTL_RevertPanel_Search2")); // NOI18N
    startSearchButton.setEnabled(false);

    endRevisionTextField.setText(SVNRevision.HEAD.toString());
    endRevisionTextField.setToolTipText(
        org.openide.util.NbBundle.getMessage(
            RevertModificationsPanel.class, "CTL_RevertPanel_EmptyHint")); // NOI18N
    endRevisionTextField.setEnabled(false);

    org.openide.awt.Mnemonics.setLocalizedText(
        endSearchButton, bundle.getString("CTL_RevertPanel_Search3")); // NOI18N
    endSearchButton.setEnabled(false);

    jLabel3.setLabelFor(endRevisionTextField);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabel3, bundle.getString("CTL_RevertPanel_EndingRevision")); // NOI18N

    buttonGroup.add(oneCommitRadioButton);
    org.openide.awt.Mnemonics.setLocalizedText(
        oneCommitRadioButton, bundle.getString("CTL_RevertPanel_RevertSingle")); // NOI18N

    jLabel4.setLabelFor(oneRevisionTextField);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabel4, bundle.getString("CTL_RevertPanel_SingleRevision")); // NOI18N

    oneRevisionTextField.setText(SVNRevision.HEAD.toString());
    oneRevisionTextField.setToolTipText(
        org.openide.util.NbBundle.getMessage(
            RevertModificationsPanel.class, "CTL_RevertPanel_EmptyHint")); // NOI18N
    oneRevisionTextField.setEnabled(false);

    org.openide.awt.Mnemonics.setLocalizedText(
        oneRevisionSearchButton, bundle.getString("CTL_RevertPanel_Search1")); // NOI18N
    oneRevisionSearchButton.setEnabled(false);

    org.openide.awt.Mnemonics.setLocalizedText(
        revertNewFilesCheckBox,
        org.openide.util.NbBundle.getMessage(
            RevertModificationsPanel.class, "CTL_RevertPanel_RevertNewFiles")); // NOI18N

    cbRecursiveRevert.setSelected(true);
    org.openide.awt.Mnemonics.setLocalizedText(
        cbRecursiveRevert,
        org.openide.util.NbBundle.getMessage(
            RevertModificationsPanel.class, "CTL_RevertPanel_Recursive.text")); // NOI18N
    cbRecursiveRevert.setToolTipText(
        org.openide.util.NbBundle.getMessage(
            RevertModificationsPanel.class, "CTL_RevertPanel_Recursive.TTtext")); // NOI18N

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(
                                layout
                                    .createSequentialGroup()
                                    .addGap(17, 17, 17)
                                    .addComponent(
                                        jLabel4,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        126,
                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(
                                        oneRevisionTextField,
                                        javax.swing.GroupLayout.DEFAULT_SIZE,
                                        137,
                                        Short.MAX_VALUE)
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(
                                        oneRevisionSearchButton,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        98,
                                        javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(oneCommitRadioButton)
                            .addComponent(localChangesRadioButton)
                            .addComponent(moreCommitsRadioButton)
                            .addGroup(
                                layout
                                    .createSequentialGroup()
                                    .addGap(17, 17, 17)
                                    .addGroup(
                                        layout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(revertNewFilesCheckBox)
                                            .addComponent(cbRecursiveRevert)))
                            .addGroup(
                                layout
                                    .createSequentialGroup()
                                    .addGap(17, 17, 17)
                                    .addGroup(
                                        layout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING, false)
                                            .addComponent(
                                                jLabel3,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                Short.MAX_VALUE)
                                            .addComponent(
                                                jLabel2,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                Short.MAX_VALUE))
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(
                                        layout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(
                                                endRevisionTextField,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                137,
                                                Short.MAX_VALUE)
                                            .addComponent(
                                                startRevisionTextField,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                137,
                                                Short.MAX_VALUE))
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(
                                        layout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(endSearchButton)
                                            .addComponent(startSearchButton))))
                    .addContainerGap()));
    layout.setVerticalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(localChangesRadioButton)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(cbRecursiveRevert)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(revertNewFilesCheckBox)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(oneCommitRadioButton)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(
                        layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel4)
                            .addComponent(
                                oneRevisionTextField,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(oneRevisionSearchButton))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(moreCommitsRadioButton)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(
                        layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel2)
                            .addComponent(
                                startRevisionTextField,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(startSearchButton))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(
                        layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel3)
                            .addComponent(
                                endRevisionTextField,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(endSearchButton))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    localChangesRadioButton
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("ACSD_RevertPanel_RevertLocal")); // NOI18N
    moreCommitsRadioButton
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("ACSD_RevertPanel_RevertMulti")); // NOI18N
    jLabel2
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("ACSD_RevertPanel_StartingRevision")); // NOI18N
    startSearchButton
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("ACSD_RevertPanel_Search2")); // NOI18N
    endSearchButton
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("ACSD_RevertPanel_Search3")); // NOI18N
    jLabel3
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("ACSD_RevertPanel_EndingRevision")); // NOI18N
    oneCommitRadioButton
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("ACSD_RevertPanel_RevertSingle")); // NOI18N
    jLabel4
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("ACSD_RevertPanel_SingleRevision")); // NOI18N
    oneRevisionSearchButton
        .getAccessibleContext()
        .setAccessibleDescription(bundle.getString("ACSD_RevertPanel_Search1")); // NOI18N
    revertNewFilesCheckBox
        .getAccessibleContext()
        .setAccessibleName(
            org.openide.util.NbBundle.getMessage(
                RevertModificationsPanel.class, "ASCN_RevertPanel_RevertNewFiles")); // NOI18N
    revertNewFilesCheckBox
        .getAccessibleContext()
        .setAccessibleDescription(
            org.openide.util.NbBundle.getMessage(
                RevertModificationsPanel.class, "ASCD_RevertPanel_RevertNewFiles")); // NOI18N
  } // </editor-fold>//GEN-END:initComponents
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {

    jLabel5 = new javax.swing.JLabel();

    setName(
        org.openide.util.NbBundle.getMessage(
            SwitchToPanel.class, "CTL_SwitchPanel_Message")); // NOI18N

    org.openide.awt.Mnemonics.setLocalizedText(
        urlLabel,
        org.openide.util.NbBundle.getMessage(
            SwitchToPanel.class, "CTL_SwitchPanel_Folder")); // NOI18N

    org.openide.awt.Mnemonics.setLocalizedText(
        browseRepositoryButton,
        org.openide.util.NbBundle.getMessage(
            SwitchToPanel.class, "CTL_SwitchPanel_Browse")); // NOI18N

    urlComboBox.setEditable(true);

    jLabel5.setLabelFor(revisionTextField);
    org.openide.awt.Mnemonics.setLocalizedText(
        jLabel5,
        org.openide.util.NbBundle.getMessage(
            SwitchToPanel.class, "CTL_SwitchPanel_Revision")); // NOI18N

    revisionTextField.setText(SVNRevision.HEAD.toString());
    revisionTextField.setToolTipText(
        org.openide.util.NbBundle.getMessage(
            SwitchToPanel.class, "CTL_SwitchPanel_EmptyHint")); // NOI18N

    org.openide.awt.Mnemonics.setLocalizedText(
        searchRevisionButton,
        org.openide.util.NbBundle.getMessage(
            SwitchToPanel.class, "CTL_SwitchPanel_Search")); // NOI18N

    warningLabel.setIcon(
        new javax.swing.ImageIcon(
            getClass()
                .getResource(
                    "/org/netbeans/modules/subversion/resources/icons/warning.gif"))); // NOI18N
    org.openide.awt.Mnemonics.setLocalizedText(
        warningLabel,
        org.openide.util.NbBundle.getMessage(
            SwitchToPanel.class, "CTL_SwitchPanel_Warning")); // NOI18N

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(
                                layout
                                    .createSequentialGroup()
                                    .addGroup(
                                        layout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING, false)
                                            .addComponent(
                                                urlLabel,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                Short.MAX_VALUE)
                                            .addComponent(
                                                jLabel5,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                Short.MAX_VALUE))
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(
                                        layout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(urlComboBox, 0, 413, Short.MAX_VALUE)
                                            .addGroup(
                                                layout
                                                    .createSequentialGroup()
                                                    .addComponent(
                                                        revisionTextField,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                                        93,
                                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                        javax.swing.LayoutStyle.ComponentPlacement
                                                            .RELATED)
                                                    .addComponent(searchRevisionButton)))
                                    .addGap(10, 10, 10)
                                    .addComponent(browseRepositoryButton))
                            .addComponent(warningLabel))
                    .addContainerGap()));
    layout.setVerticalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(browseRepositoryButton)
                            .addComponent(
                                urlComboBox,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(urlLabel))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(
                        layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(
                                revisionTextField,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel5)
                            .addComponent(searchRevisionButton))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(warningLabel)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    urlLabel.getAccessibleContext().setAccessibleDescription("Repository Folder");
    browseRepositoryButton
        .getAccessibleContext()
        .setAccessibleDescription("Browse Repository Fodlers");
    jLabel5.getAccessibleContext().setAccessibleDescription("Repository Revision");
    searchRevisionButton.getAccessibleContext().setAccessibleDescription("Search Revisions");
    warningLabel
        .getAccessibleContext()
        .setAccessibleDescription("Warning - there are locally modified files!");
  } // </editor-fold>//GEN-END:initComponents