Adding Git source, NetBeans project files, GPL v2 LICENSE, ant build file.
[nbgit.git] / src / org / netbeans / modules / git / ui / clone / CloneCompletedPanel.java
blob36dd918f0ba498470a232d95f848ea7603511876
1 /*
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4 * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
6 * The contents of this file are subject to the terms of either the GNU
7 * General Public License Version 2 only ("GPL") or the Common
8 * Development and Distribution License("CDDL") (collectively, the
9 * "License"). You may not use this file except in compliance with the
10 * License. You can obtain a copy of the License at
11 * http://www.netbeans.org/cddl-gplv2.html
12 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
13 * specific language governing permissions and limitations under the
14 * License. When distributing the software, include this License Header
15 * Notice in each file and include the License file at
16 * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
17 * particular file as subject to the "Classpath" exception as provided
18 * by Sun in the GPL Version 2 section of the License file that
19 * accompanied this code. If applicable, add the following below the
20 * License Header, with the fields enclosed by brackets [] replaced by
21 * your own identifying information:
22 * "Portions Copyrighted [year] [name of copyright owner]"
24 * Contributor(s):
26 * The Original Software is NetBeans. The Initial Developer of the Original
27 * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
28 * Microsystems, Inc. All Rights Reserved.
29 * Portions Copyright 2008 Alexander Coles (Ikonoklastik Productions).
31 * If you wish your version of this file to be governed by only the CDDL
32 * or only the GPL Version 2, indicate your decision by adding
33 * "[Contributor] elects to include this software in this distribution
34 * under the [CDDL or GPL Version 2] license." If you do not indicate a
35 * single choice of license, a recipient has the option to distribute
36 * your version of this file under either the CDDL, the GPL Version 2 or
37 * to extend the choice of license to its licensees as provided above.
38 * However, if you add GPL Version 2 code and therefore, elected the GPL
39 * Version 2 license, then the option applies only if the new code is
40 * made subject to such option by the copyright holder.
42 package org.netbeans.modules.git.ui.clone;
45 /**
47 * @author Petr Kuzel
49 final class CloneCompletedPanel extends javax.swing.JPanel {
51 /** Creates new form CloneCompletedPanel */
52 public CloneCompletedPanel() {
53 initComponents();
56 /** This method is called from within the constructor to
57 * initialize the form.
58 * WARNING: Do NOT modify this code. The content of this method is
59 * always regenerated by the Form Editor.
61 // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
62 private void initComponents() {
63 java.awt.GridBagConstraints gridBagConstraints;
65 setLayout(new java.awt.GridBagLayout());
67 org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(CloneCompletedPanel.class, "BK3001")); // NOI18N
68 gridBagConstraints = new java.awt.GridBagConstraints();
69 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
70 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
71 gridBagConstraints.weightx = 1.0;
72 gridBagConstraints.insets = new java.awt.Insets(0, 3, 3, 0);
73 add(jLabel1, gridBagConstraints);
75 org.openide.awt.Mnemonics.setLocalizedText(againCheckBox, org.openide.util.NbBundle.getMessage(CloneCompletedPanel.class, "BK3002")); // NOI18N
76 gridBagConstraints = new java.awt.GridBagConstraints();
77 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
78 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
79 gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 0);
80 add(againCheckBox, gridBagConstraints);
82 gridBagConstraints = new java.awt.GridBagConstraints();
83 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
84 gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
85 gridBagConstraints.weighty = 1.0;
86 add(jPanel1, gridBagConstraints);
88 org.openide.awt.Mnemonics.setLocalizedText(openButton, org.openide.util.NbBundle.getMessage(CloneCompletedPanel.class, "BK3003")); // NOI18N
89 java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("org/netbeans/modules/mercurial/ui/clone/Bundle"); // NOI18N
90 openButton.setToolTipText(bundle.getString("TT_OpenProject")); // NOI18N
91 gridBagConstraints = new java.awt.GridBagConstraints();
92 gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
93 gridBagConstraints.weightx = 1.0;
94 gridBagConstraints.insets = new java.awt.Insets(3, 0, 0, 3);
95 add(openButton, gridBagConstraints);
97 org.openide.awt.Mnemonics.setLocalizedText(createButton, org.openide.util.NbBundle.getMessage(CloneCompletedPanel.class, "BK3004")); // NOI18N
98 createButton.setToolTipText(bundle.getString("TT_CreateProject")); // NOI18N
99 gridBagConstraints = new java.awt.GridBagConstraints();
100 gridBagConstraints.insets = new java.awt.Insets(3, 3, 0, 3);
101 add(createButton, gridBagConstraints);
103 org.openide.awt.Mnemonics.setLocalizedText(closeButton, org.openide.util.NbBundle.getMessage(CloneCompletedPanel.class, "BK3005")); // NOI18N
104 closeButton.setToolTipText(bundle.getString("TT_Close")); // NOI18N
105 gridBagConstraints = new java.awt.GridBagConstraints();
106 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
107 gridBagConstraints.insets = new java.awt.Insets(3, 3, 0, 0);
108 add(closeButton, gridBagConstraints);
110 }// </editor-fold>//GEN-END:initComponents
113 // Variables declaration - do not modify//GEN-BEGIN:variables
114 final javax.swing.JCheckBox againCheckBox = new javax.swing.JCheckBox();
115 final javax.swing.JButton closeButton = new javax.swing.JButton();
116 final javax.swing.JButton createButton = new javax.swing.JButton();
117 final javax.swing.JLabel jLabel1 = new javax.swing.JLabel();
118 final javax.swing.JPanel jPanel1 = new javax.swing.JPanel();
119 final javax.swing.JButton openButton = new javax.swing.JButton();
120 // End of variables declaration//GEN-END:variables