001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041:
042: package org.netbeans.modules.mercurial.ui.clone;
043:
044: import javax.swing.Icon;
045: import javax.swing.JOptionPane;
046:
047: //import org.netbeans.modules.subversion.ui.wizards.*;
048:
049: /**
050: *
051: * @author Petr Kuzel
052: */
053: final class CloneCompletedPanel extends javax.swing.JPanel {
054:
055: /** Creates new form CloneCompletedPanel */
056: public CloneCompletedPanel() {
057: initComponents();
058: }
059:
060: /** This method is called from within the constructor to
061: * initialize the form.
062: * WARNING: Do NOT modify this code. The content of this method is
063: * always regenerated by the Form Editor.
064: */
065: // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
066: private void initComponents() {
067: java.awt.GridBagConstraints gridBagConstraints;
068:
069: setLayout(new java.awt.GridBagLayout());
070:
071: org.openide.awt.Mnemonics.setLocalizedText(jLabel1,
072: org.openide.util.NbBundle.getMessage(
073: CloneCompletedPanel.class, "BK3001")); // NOI18N
074: gridBagConstraints = new java.awt.GridBagConstraints();
075: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
076: gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
077: gridBagConstraints.weightx = 1.0;
078: gridBagConstraints.insets = new java.awt.Insets(0, 3, 3, 0);
079: add(jLabel1, gridBagConstraints);
080:
081: org.openide.awt.Mnemonics.setLocalizedText(againCheckBox,
082: org.openide.util.NbBundle.getMessage(
083: CloneCompletedPanel.class, "BK3002")); // NOI18N
084: gridBagConstraints = new java.awt.GridBagConstraints();
085: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
086: gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
087: gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 0);
088: add(againCheckBox, gridBagConstraints);
089:
090: gridBagConstraints = new java.awt.GridBagConstraints();
091: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
092: gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
093: gridBagConstraints.weighty = 1.0;
094: add(jPanel1, gridBagConstraints);
095:
096: org.openide.awt.Mnemonics.setLocalizedText(openButton,
097: org.openide.util.NbBundle.getMessage(
098: CloneCompletedPanel.class, "BK3003")); // NOI18N
099: java.util.ResourceBundle bundle = java.util.ResourceBundle
100: .getBundle("org/netbeans/modules/mercurial/ui/clone/Bundle"); // NOI18N
101: openButton.setToolTipText(bundle.getString("TT_OpenProject")); // NOI18N
102: gridBagConstraints = new java.awt.GridBagConstraints();
103: gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
104: gridBagConstraints.weightx = 1.0;
105: gridBagConstraints.insets = new java.awt.Insets(3, 0, 0, 3);
106: add(openButton, gridBagConstraints);
107:
108: org.openide.awt.Mnemonics.setLocalizedText(createButton,
109: org.openide.util.NbBundle.getMessage(
110: CloneCompletedPanel.class, "BK3004")); // NOI18N
111: createButton.setToolTipText(bundle
112: .getString("TT_CreateProject")); // NOI18N
113: gridBagConstraints = new java.awt.GridBagConstraints();
114: gridBagConstraints.insets = new java.awt.Insets(3, 3, 0, 3);
115: add(createButton, gridBagConstraints);
116:
117: org.openide.awt.Mnemonics.setLocalizedText(closeButton,
118: org.openide.util.NbBundle.getMessage(
119: CloneCompletedPanel.class, "BK3005")); // NOI18N
120: closeButton.setToolTipText(bundle.getString("TT_Close")); // NOI18N
121: gridBagConstraints = new java.awt.GridBagConstraints();
122: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
123: gridBagConstraints.insets = new java.awt.Insets(3, 3, 0, 0);
124: add(closeButton, gridBagConstraints);
125:
126: }// </editor-fold>//GEN-END:initComponents
127:
128: // Variables declaration - do not modify//GEN-BEGIN:variables
129: final javax.swing.JCheckBox againCheckBox = new javax.swing.JCheckBox();
130: final javax.swing.JButton closeButton = new javax.swing.JButton();
131: final javax.swing.JButton createButton = new javax.swing.JButton();
132: final javax.swing.JLabel jLabel1 = new javax.swing.JLabel();
133: final javax.swing.JPanel jPanel1 = new javax.swing.JPanel();
134: final javax.swing.JButton openButton = new javax.swing.JButton();
135: // End of variables declaration//GEN-END:variables
136:
137: }
|