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.subversion.ui.checkout;
043:
044: import javax.swing.Icon;
045: import javax.swing.JOptionPane;
046: import org.netbeans.modules.subversion.ui.wizards.*;
047:
048: /**
049: *
050: * @author Petr Kuzel
051: */
052: final class CheckoutCompletedPanel extends javax.swing.JPanel {
053:
054: /** Creates new form CheckoutCompletedPanel */
055: public CheckoutCompletedPanel() {
056: initComponents();
057: }
058:
059: /** This method is called from within the constructor to
060: * initialize the form.
061: * WARNING: Do NOT modify this code. The content of this method is
062: * always regenerated by the Form Editor.
063: */
064: // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
065: private void initComponents() {
066: java.awt.GridBagConstraints gridBagConstraints;
067:
068: setLayout(new java.awt.GridBagLayout());
069:
070: org.openide.awt.Mnemonics.setLocalizedText(jLabel1,
071: org.openide.util.NbBundle.getMessage(
072: CheckoutCompletedPanel.class, "BK3001")); // NOI18N
073: gridBagConstraints = new java.awt.GridBagConstraints();
074: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
075: gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
076: gridBagConstraints.weightx = 1.0;
077: gridBagConstraints.insets = new java.awt.Insets(0, 3, 3, 0);
078: add(jLabel1, gridBagConstraints);
079:
080: org.openide.awt.Mnemonics.setLocalizedText(againCheckBox,
081: org.openide.util.NbBundle.getMessage(
082: CheckoutCompletedPanel.class, "BK3002")); // NOI18N
083: gridBagConstraints = new java.awt.GridBagConstraints();
084: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
085: gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
086: gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 0);
087: add(againCheckBox, gridBagConstraints);
088:
089: gridBagConstraints = new java.awt.GridBagConstraints();
090: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
091: gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
092: gridBagConstraints.weighty = 1.0;
093: add(jPanel1, gridBagConstraints);
094:
095: org.openide.awt.Mnemonics.setLocalizedText(openButton,
096: org.openide.util.NbBundle.getMessage(
097: CheckoutCompletedPanel.class, "BK3003")); // NOI18N
098: java.util.ResourceBundle bundle = java.util.ResourceBundle
099: .getBundle("org/netbeans/modules/subversion/ui/checkout/Bundle"); // NOI18N
100: openButton.setToolTipText(bundle.getString("TT_OpenProject")); // NOI18N
101: gridBagConstraints = new java.awt.GridBagConstraints();
102: gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
103: gridBagConstraints.weightx = 1.0;
104: gridBagConstraints.insets = new java.awt.Insets(3, 0, 0, 3);
105: add(openButton, gridBagConstraints);
106:
107: org.openide.awt.Mnemonics.setLocalizedText(createButton,
108: org.openide.util.NbBundle.getMessage(
109: CheckoutCompletedPanel.class, "BK3004")); // NOI18N
110: createButton.setToolTipText(bundle
111: .getString("TT_CreateProject")); // NOI18N
112: gridBagConstraints = new java.awt.GridBagConstraints();
113: gridBagConstraints.insets = new java.awt.Insets(3, 3, 0, 3);
114: add(createButton, gridBagConstraints);
115:
116: org.openide.awt.Mnemonics.setLocalizedText(closeButton,
117: org.openide.util.NbBundle.getMessage(
118: CheckoutCompletedPanel.class, "BK3005")); // NOI18N
119: closeButton.setToolTipText(bundle.getString("TT_Close")); // NOI18N
120: gridBagConstraints = new java.awt.GridBagConstraints();
121: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
122: gridBagConstraints.insets = new java.awt.Insets(3, 3, 0, 0);
123: add(closeButton, gridBagConstraints);
124:
125: }// </editor-fold>//GEN-END:initComponents
126:
127: // Variables declaration - do not modify//GEN-BEGIN:variables
128: final javax.swing.JCheckBox againCheckBox = new javax.swing.JCheckBox();
129: final javax.swing.JButton closeButton = new javax.swing.JButton();
130: final javax.swing.JButton createButton = new javax.swing.JButton();
131: final javax.swing.JLabel jLabel1 = new javax.swing.JLabel();
132: final javax.swing.JPanel jPanel1 = new javax.swing.JPanel();
133: final javax.swing.JButton openButton = new javax.swing.JButton();
134: // End of variables declaration//GEN-END:variables
135:
136: }
|