1 19 20 package org.netbeans.modules.versioning.system.cvss.ui.actions.checkout; 21 22 import javax.swing.Icon ; 23 import javax.swing.JOptionPane ; 24 25 29 final class CheckoutCompletedPanel extends javax.swing.JPanel { 30 31 32 public CheckoutCompletedPanel() { 33 initComponents(); 34 } 35 36 41 private void initComponents() { 43 java.awt.GridBagConstraints gridBagConstraints; 44 45 setLayout(new java.awt.GridBagLayout ()); 46 47 org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(CheckoutCompletedPanel.class, "BK1001")); 48 gridBagConstraints = new java.awt.GridBagConstraints (); 49 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; 50 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; 51 gridBagConstraints.weightx = 1.0; 52 gridBagConstraints.insets = new java.awt.Insets (0, 3, 3, 0); 53 add(jLabel1, gridBagConstraints); 54 55 org.openide.awt.Mnemonics.setLocalizedText(againCheckBox, org.openide.util.NbBundle.getMessage(CheckoutCompletedPanel.class, "BK1002")); 56 gridBagConstraints = new java.awt.GridBagConstraints (); 57 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; 58 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; 59 gridBagConstraints.insets = new java.awt.Insets (3, 3, 3, 0); 60 add(againCheckBox, gridBagConstraints); 61 62 gridBagConstraints = new java.awt.GridBagConstraints (); 63 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; 64 gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; 65 gridBagConstraints.weighty = 1.0; 66 add(jPanel1, gridBagConstraints); 67 68 org.openide.awt.Mnemonics.setLocalizedText(openButton, org.openide.util.NbBundle.getMessage(CheckoutCompletedPanel.class, "BK1003")); 69 openButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/checkout/Bundle").getString("TT_OpenProject")); 70 gridBagConstraints = new java.awt.GridBagConstraints (); 71 gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; 72 gridBagConstraints.weightx = 1.0; 73 gridBagConstraints.insets = new java.awt.Insets (3, 0, 0, 3); 74 add(openButton, gridBagConstraints); 75 76 org.openide.awt.Mnemonics.setLocalizedText(createButton, org.openide.util.NbBundle.getMessage(CheckoutCompletedPanel.class, "BK1004")); 77 createButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/checkout/Bundle").getString("TT_CreateProject")); 78 gridBagConstraints = new java.awt.GridBagConstraints (); 79 gridBagConstraints.insets = new java.awt.Insets (3, 3, 0, 3); 80 add(createButton, gridBagConstraints); 81 82 org.openide.awt.Mnemonics.setLocalizedText(closeButton, org.openide.util.NbBundle.getMessage(CheckoutCompletedPanel.class, "BK1005")); 83 closeButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/checkout/Bundle").getString("TT_Close")); 84 gridBagConstraints = new java.awt.GridBagConstraints (); 85 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; 86 gridBagConstraints.insets = new java.awt.Insets (3, 3, 0, 0); 87 add(closeButton, gridBagConstraints); 88 89 } 90 92 93 final javax.swing.JCheckBox againCheckBox = new javax.swing.JCheckBox (); 95 final javax.swing.JButton closeButton = new javax.swing.JButton (); 96 final javax.swing.JButton createButton = new javax.swing.JButton (); 97 final javax.swing.JLabel jLabel1 = new javax.swing.JLabel (); 98 final javax.swing.JPanel jPanel1 = new javax.swing.JPanel (); 99 final javax.swing.JButton openButton = new javax.swing.JButton (); 100 102 } 103 | Popular Tags |