1 19 20 package org.netbeans.modules.websvc.registry.actions; 21 22 import javax.swing.text.Document ; 23 24 29 public class AddWSGroupPanel extends javax.swing.JPanel { 30 31 32 public AddWSGroupPanel() { 33 initComponents(); 34 } 35 36 String getGroupName() { 37 return jTextField1.getText(); 38 } 39 40 Document getTFDocument() { 41 return jTextField1.getDocument(); 42 } 43 44 49 private void initComponents() { 51 java.awt.GridBagConstraints gridBagConstraints; 52 53 jLabel1 = new javax.swing.JLabel (); 54 jTextField1 = new javax.swing.JTextField (); 55 56 setLayout(new java.awt.GridBagLayout ()); 57 58 getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(AddWSGroupPanel.class, "A11Y_AddWSGroupDlg")); 59 jLabel1.setLabelFor(jTextField1); 60 org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(AddWSGroupPanel.class, "LBL_GroupName")); 61 gridBagConstraints = new java.awt.GridBagConstraints (); 62 gridBagConstraints.insets = new java.awt.Insets (12, 12, 0, 0); 63 add(jLabel1, gridBagConstraints); 64 65 jTextField1.setColumns(20); 66 gridBagConstraints = new java.awt.GridBagConstraints (); 67 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; 68 gridBagConstraints.weightx = 1.0; 69 gridBagConstraints.insets = new java.awt.Insets (12, 12, 0, 12); 70 add(jTextField1, gridBagConstraints); 71 jTextField1.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(AddWSGroupPanel.class, "A11Y_AddWSGroupDlg")); 72 73 } 74 76 77 public javax.swing.JLabel jLabel1; 79 public javax.swing.JTextField jTextField1; 80 82 } 83 | Popular Tags |