Added accessibility of UI. release33_beta4-BLD200111121441
authortzezula@netbeans.org
Wed, 31 Oct 2001 16:39:20 +0000
changeset 18529641f2dd9619
parent 1851 5014826c25ed
child 1853 e8e03af069aa
Added accessibility of UI.
jndi/src/org/netbeans/modules/jndi/AbstractNewPanel.java
jndi/src/org/netbeans/modules/jndi/Bundle.properties
jndi/src/org/netbeans/modules/jndi/NewJndiRootPanel.java
jndi/src/org/netbeans/modules/jndi/NewJndiSubContextPanel.java
jndi/src/org/netbeans/modules/jndi/NewPropertyPanel.java
jndi/src/org/netbeans/modules/jndi/NewProviderPanel.java
jndi/src/org/netbeans/modules/jndi/gui/AttributePanel.form
jndi/src/org/netbeans/modules/jndi/gui/AttributePanel.java
jndi/src/org/netbeans/modules/jndi/gui/CreateAttributePanel.form
jndi/src/org/netbeans/modules/jndi/gui/CreateAttributePanel.java
jndi/src/org/netbeans/modules/jndi/gui/NotFoundPanel.java
jndi/src/org/netbeans/modules/jndi/gui/TimeOutPanel.form
jndi/src/org/netbeans/modules/jndi/gui/TimeOutPanel.java
     1.1 --- a/jndi/src/org/netbeans/modules/jndi/AbstractNewPanel.java	Wed Oct 31 13:26:48 2001 +0000
     1.2 +++ b/jndi/src/org/netbeans/modules/jndi/AbstractNewPanel.java	Wed Oct 31 16:39:20 2001 +0000
     1.3 @@ -206,6 +206,16 @@
     1.4      final void createGUI(){
     1.5          this.setLayout ( new GridBagLayout());
     1.6          JPanel p = createSubGUI();
     1.7 +        this.properties = new SimpleListModel();
     1.8 +        this.list = new JList();
     1.9 +        this.list.addListSelectionListener(this);
    1.10 +        this.list.setModel(this.properties);
    1.11 +        this.list.setVisibleRowCount(8);
    1.12 +        this.list.setPrototypeCellValue("123456789012345678901234567890123456");
    1.13 +        JLabel label1 = new JLabel(JndiRootNode.getLocalizedString("TXT_OtherProps"));
    1.14 +        label1.setLabelFor (this.list);
    1.15 +        label1.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_OtherProps_MNEM").charAt (0));
    1.16 +        
    1.17          GridBagConstraints gridBagConstraints = new GridBagConstraints ();
    1.18          gridBagConstraints.gridwidth = 0;
    1.19          gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    1.20 @@ -216,13 +226,9 @@
    1.21          gridBagConstraints.gridy = 1;
    1.22          gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    1.23          gridBagConstraints.insets = new java.awt.Insets (8, 8, 0, 0);
    1.24 -        add (new JLabel(JndiRootNode.getLocalizedString("TXT_OtherProps")), gridBagConstraints);
    1.25 -        this.properties = new SimpleListModel();
    1.26 -        this.list = new JList();
    1.27 -        this.list.addListSelectionListener(this);
    1.28 -        this.list.setModel(this.properties);
    1.29 -        this.list.setVisibleRowCount(8);
    1.30 -        this.list.setPrototypeCellValue("123456789012345678901234567890123456");
    1.31 +        add (label1, gridBagConstraints);
    1.32 +        
    1.33 +        
    1.34          gridBagConstraints = new java.awt.GridBagConstraints ();
    1.35          gridBagConstraints.gridx = 0;
    1.36          gridBagConstraints.gridy = 2;
    1.37 @@ -232,31 +238,37 @@
    1.38          gridBagConstraints.weightx = 1.0;
    1.39          gridBagConstraints.weighty = 0.5;
    1.40          add (new JScrollPane(this.list), gridBagConstraints);
    1.41 +        
    1.42          p = new javax.swing.JPanel();
    1.43          p.setLayout(new GridBagLayout());
    1.44          this.addButton = new JButton(JndiRootNode.getLocalizedString("TXT_Add"));
    1.45          this.addButton.setActionCommand("ADD");
    1.46          this.addButton.addActionListener(this);
    1.47 +        this.addButton.setMnemonic (JndiRootNode.getLocalizedString("TXT_Add_MNEM").charAt(0));
    1.48          gridBagConstraints = new java.awt.GridBagConstraints ();
    1.49          gridBagConstraints.gridx = 0;
    1.50          gridBagConstraints.gridy = 0;
    1.51          gridBagConstraints.insets = new java.awt.Insets (0, 0, 8, 0);
    1.52          gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
    1.53          p.add (this.addButton, gridBagConstraints);
    1.54 +        
    1.55          this.changeButton = new JButton(JndiRootNode.getLocalizedString("TXT_Change"));
    1.56          this.changeButton.setEnabled(false);
    1.57          this.changeButton.setActionCommand("CHANGE");
    1.58          this.changeButton.addActionListener(this);
    1.59 +        this.changeButton.setMnemonic (JndiRootNode.getLocalizedString ("TXT_Change_MNEM").charAt (0));
    1.60          gridBagConstraints = new java.awt.GridBagConstraints ();
    1.61          gridBagConstraints.gridx = 0;
    1.62          gridBagConstraints.gridy = 1;
    1.63          gridBagConstraints.insets = new java.awt.Insets (0, 0, 8, 0);
    1.64          gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
    1.65          p.add (this.changeButton, gridBagConstraints);
    1.66 +        
    1.67          this.removeButton = new JButton(JndiRootNode.getLocalizedString("TXT_Rem"));
    1.68          this.removeButton.setEnabled(false);
    1.69          this.removeButton.setActionCommand("DEL");
    1.70          this.removeButton.addActionListener(this);
    1.71 +        this.removeButton.setMnemonic (JndiRootNode.getLocalizedString ("TXT_Rem_MNEM").charAt(0));
    1.72          gridBagConstraints = new java.awt.GridBagConstraints ();
    1.73          gridBagConstraints.gridx = 0;
    1.74          gridBagConstraints.gridy = 2;
    1.75 @@ -269,6 +281,7 @@
    1.76          gridBagConstraints.insets = new java.awt.Insets (8, 8, 8, 8);
    1.77          gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
    1.78          add (p, gridBagConstraints);
    1.79 +        
    1.80          p = createNotesPanel();
    1.81          if (p != null){
    1.82              gridBagConstraints = new java.awt.GridBagConstraints();
    1.83 @@ -283,6 +296,16 @@
    1.84              gridBagConstraints.weighty = 0.0;
    1.85              add (p, gridBagConstraints);
    1.86          }
    1.87 +        
    1.88 +        this.list.getAccessibleContext().setAccessibleDescription (JndiRootNode.getLocalizedString("AD_OtherProps"));
    1.89 +        this.context.getAccessibleContext().setAccessibleDescription(JndiRootNode.getLocalizedString("AD_Context"));
    1.90 +        this.authentification.getAccessibleContext().setAccessibleDescription(JndiRootNode.getLocalizedString("AD_Authentification"));
    1.91 +        this.root.getAccessibleContext().setAccessibleDescription(JndiRootNode.getLocalizedString("AD_Root"));
    1.92 +        this.principal.getAccessibleContext().setAccessibleDescription(JndiRootNode.getLocalizedString("AD_Principal"));
    1.93 +        this.credentials.getAccessibleContext().setAccessibleDescription(JndiRootNode.getLocalizedString("AD_Credentials"));
    1.94 +        this.removeButton.getAccessibleContext().setAccessibleDescription(JndiRootNode.getLocalizedString("AD_RemoveButton"));
    1.95 +        this.changeButton.getAccessibleContext().setAccessibleDescription(JndiRootNode.getLocalizedString("AD_ChangeButton"));
    1.96 +        this.addButton.getAccessibleContext().setAccessibleDescription(JndiRootNode.getLocalizedString("AD_AddButton"));
    1.97      }
    1.98  
    1.99  
     2.1 --- a/jndi/src/org/netbeans/modules/jndi/Bundle.properties	Wed Oct 31 13:26:48 2001 +0000
     2.2 +++ b/jndi/src/org/netbeans/modules/jndi/Bundle.properties	Wed Oct 31 16:39:20 2001 +0000
     2.3 @@ -117,3 +117,83 @@
     2.4  #filenames
     2.5  UI/Services/DistributedApplicationSupport=Distributed Application Support
     2.6  Services/org-netbeans-modules-jndi-settings-JndiSystemOption.settings=JNDI Support
     2.7 +
     2.8 +TXT_OtherProps_MNEM=O
     2.9 +
    2.10 +TXT_Add_MNEM=A
    2.11 +
    2.12 +TXT_Change_MNEM=E
    2.13 +
    2.14 +TXT_Rem_MNEM=R
    2.15 +
    2.16 +TXT_ContextLabel_MNEM=L
    2.17 +
    2.18 +TXT_Factory_MNEM=F
    2.19 +
    2.20 +TXT_InitialContext_MNEM=I
    2.21 +
    2.22 +TXT_Root_MNEM=X
    2.23 +
    2.24 +TXT_Auth_MNEM=U
    2.25 +
    2.26 +TXT_Principal_MNEM=P
    2.27 +
    2.28 +TXT_Credentials_MNEM=T
    2.29 +
    2.30 +TXT_SubContextName_MNEM=N
    2.31 +
    2.32 +TXT_PropertyName_MNEM=N
    2.33 +
    2.34 +TXT_PropertyValue_MNEM=V
    2.35 +
    2.36 +TXT_AttributeList_MNEM=L
    2.37 +
    2.38 +TXT_AddAttribute_MNEM=A
    2.39 +
    2.40 +TXT_RemoveAttribute_MNEM=R
    2.41 +
    2.42 +TXT_ModifyAttribute_MNEM=E
    2.43 +
    2.44 +TXT_AttributeName_MNEM=N
    2.45 +
    2.46 +TXT_AttributeValue_MNEN=V
    2.47 +
    2.48 +AD_OtherProps=N/A
    2.49 +
    2.50 +AD_Context=N/A
    2.51 +
    2.52 +AD_Authentification=N/A
    2.53 +
    2.54 +AD_Root=N/A
    2.55 +
    2.56 +AD_Principal=N/A
    2.57 +
    2.58 +AD_Credentials=N/A
    2.59 +
    2.60 +AD_RemoveButton=N/A
    2.61 +
    2.62 +AD_ChangeButton=N/A
    2.63 +
    2.64 +AD_AddButton=N/A
    2.65 +
    2.66 +AD_Label=N/A
    2.67 +
    2.68 +AD_Factory=N/A
    2.69 +
    2.70 +AC_SubContextName=N/A
    2.71 +
    2.72 +AD_PropertyName=N/A
    2.73 +
    2.74 +AD_PropertyValue=N/A
    2.75 +
    2.76 +AD_AddAttribute=N/A
    2.77 +
    2.78 +AD_RemoveAttribute=N/A
    2.79 +
    2.80 +AD_ModifyAttribute=N/A
    2.81 +
    2.82 +AD_AttributeList=N/A
    2.83 +
    2.84 +AD_AttributeName=N/A
    2.85 +
    2.86 +AD_AttributeValue=N/A
     3.1 --- a/jndi/src/org/netbeans/modules/jndi/NewJndiRootPanel.java	Wed Oct 31 13:26:48 2001 +0000
     3.2 +++ b/jndi/src/org/netbeans/modules/jndi/NewJndiRootPanel.java	Wed Oct 31 16:39:20 2001 +0000
     3.3 @@ -75,6 +75,7 @@
     3.4              className = (String) enum.nextElement ();
     3.5              this.factory.addItem (className);
     3.6          }
     3.7 +        this.label.requestFocus();
     3.8      }
     3.9  
    3.10      /** Accessor for Factory
    3.11 @@ -91,6 +92,14 @@
    3.12          return this.label.getText();
    3.13      }
    3.14  
    3.15 +    public boolean requestDefaultFocus () {
    3.16 +        this.label.requestFocus();
    3.17 +        return true;
    3.18 +    }
    3.19 +    
    3.20 +    public void requestFocus () {
    3.21 +        this.label.requestFocus();
    3.22 +    }
    3.23  
    3.24  
    3.25      /** Synchronization of Factory and Protocol
    3.26 @@ -118,7 +127,9 @@
    3.27      /** Creates a part of GUI, called grom createGUI */
    3.28      JPanel createSubGUI(){
    3.29          this.label = new JTextField();
    3.30 +        this.label.getAccessibleContext().setAccessibleDescription (JndiRootNode.getLocalizedString("AD_Label"));
    3.31          this.factory = new JComboBox();
    3.32 +        this.factory.getAccessibleContext().setAccessibleDescription (JndiRootNode.getLocalizedString ("AD_Factory"));
    3.33          this.factory.setEditable(true);
    3.34          this.factory.setSize(this.label.getSize());
    3.35          this.factory.addItemListener(this);
    3.36 @@ -132,6 +143,8 @@
    3.37          GridBagConstraints gridBagConstraints;
    3.38  
    3.39          JLabel label = new JLabel (JndiRootNode.getLocalizedString("TXT_ContextLabel"));
    3.40 +        label.setLabelFor (this.label);
    3.41 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_ContextLabel_MNEM").charAt(0));
    3.42          gridBagConstraints = new java.awt.GridBagConstraints ();
    3.43          gridBagConstraints.gridx = 0;
    3.44          gridBagConstraints.gridy = 0;
    3.45 @@ -140,6 +153,8 @@
    3.46          gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    3.47          p.add (label, gridBagConstraints);
    3.48          label = new JLabel (JndiRootNode.getLocalizedString("TXT_Factory"));
    3.49 +        label.setLabelFor (this.factory);
    3.50 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_Factory_MNEM").charAt(0));
    3.51          gridBagConstraints = new java.awt.GridBagConstraints ();
    3.52          gridBagConstraints.gridx = 0;
    3.53          gridBagConstraints.gridy = 1;
    3.54 @@ -148,6 +163,8 @@
    3.55          gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    3.56          p.add (label, gridBagConstraints);
    3.57          label = new JLabel (JndiRootNode.getLocalizedString("TXT_InitialContext"));
    3.58 +        label.setLabelFor (this.context);
    3.59 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_InitialContext_MNEM").charAt(0));
    3.60          gridBagConstraints = new java.awt.GridBagConstraints ();
    3.61          gridBagConstraints.gridx = 0;
    3.62          gridBagConstraints.gridy = 2;
    3.63 @@ -156,6 +173,8 @@
    3.64          gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    3.65          p.add (label, gridBagConstraints);
    3.66          label = new JLabel (JndiRootNode.getLocalizedString("TXT_Root"));
    3.67 +        label.setLabelFor (this.root);
    3.68 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_Root_MNEM").charAt(0));
    3.69          gridBagConstraints = new java.awt.GridBagConstraints ();
    3.70          gridBagConstraints.gridx = 0;
    3.71          gridBagConstraints.gridy = 3;
    3.72 @@ -164,6 +183,8 @@
    3.73          gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    3.74          p.add (label, gridBagConstraints);
    3.75          label = new JLabel (JndiRootNode.getLocalizedString("TXT_Auth"));
    3.76 +        label.setLabelFor (this.authentification);
    3.77 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_Auth_MNEM").charAt(0));
    3.78          gridBagConstraints = new java.awt.GridBagConstraints ();
    3.79          gridBagConstraints.gridx = 0;
    3.80          gridBagConstraints.gridy = 4;
    3.81 @@ -172,6 +193,8 @@
    3.82          gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    3.83          p.add (label, gridBagConstraints);
    3.84          label = new JLabel (JndiRootNode.getLocalizedString("TXT_Principal"));
    3.85 +        label.setLabelFor (this.principal);
    3.86 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_Principal_MNEM").charAt(0));
    3.87          gridBagConstraints = new java.awt.GridBagConstraints ();
    3.88          gridBagConstraints.gridx = 0;
    3.89          gridBagConstraints.gridy = 5;
    3.90 @@ -180,6 +203,8 @@
    3.91          gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    3.92          p.add (label, gridBagConstraints);
    3.93          label = new JLabel (JndiRootNode.getLocalizedString("TXT_Credentials"));
    3.94 +        label.setLabelFor (this.credentials);
    3.95 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_Credentials_MNEM").charAt(0));
    3.96          gridBagConstraints = new java.awt.GridBagConstraints ();
    3.97          gridBagConstraints.gridx = 0;
    3.98          gridBagConstraints.gridy = 6;
     4.1 --- a/jndi/src/org/netbeans/modules/jndi/NewJndiSubContextPanel.java	Wed Oct 31 13:26:48 2001 +0000
     4.2 +++ b/jndi/src/org/netbeans/modules/jndi/NewJndiSubContextPanel.java	Wed Oct 31 16:39:20 2001 +0000
     4.3 @@ -33,7 +33,11 @@
     4.4       */
     4.5      public NewJndiSubContextPanel() {
     4.6          this.setLayout(new GridBagLayout());
     4.7 +        this.name = new JTextField(25);
     4.8 +        this.name.getAccessibleContext().setAccessibleDescription(JndiRootNode.getLocalizedString("AC_SubContextName"));
     4.9          JLabel label = new JLabel (NbBundle.getBundle(NewJndiSubContextPanel.class).getString("TXT_SubContextName"));
    4.10 +        label.setLabelFor (this.name);
    4.11 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_SubContextName_MNEM").charAt(0));
    4.12          GridBagConstraints c = new GridBagConstraints();
    4.13          c.gridx = 0;
    4.14          c.gridy = 0;
    4.15 @@ -44,7 +48,7 @@
    4.16          c.insets = new Insets (12,12,12,6);
    4.17          ((GridBagLayout)this.getLayout()).setConstraints (label,c);
    4.18          this.add (label);
    4.19 -        this.name = new JTextField(25);
    4.20 +        
    4.21          c = new GridBagConstraints();
    4.22          c.gridx = 1;
    4.23          c.gridy = 0;
    4.24 @@ -55,6 +59,16 @@
    4.25          c.insets = new Insets (12,6,12,12);
    4.26          ((GridBagLayout)this.getLayout()).setConstraints (this.name,c);
    4.27          this.add (name);
    4.28 +        this.name.requestFocus();
    4.29 +    }
    4.30 +    
    4.31 +    public boolean requestDefaultFocus () {
    4.32 +        this.name.requestFocus();
    4.33 +        return true;
    4.34 +    }
    4.35 +    
    4.36 +    public void requestFocus () {
    4.37 +        this.name.requestFocus();
    4.38      }
    4.39  
    4.40      /** Accessor for directory name
     5.1 --- a/jndi/src/org/netbeans/modules/jndi/NewPropertyPanel.java	Wed Oct 31 13:26:48 2001 +0000
     5.2 +++ b/jndi/src/org/netbeans/modules/jndi/NewPropertyPanel.java	Wed Oct 31 16:39:20 2001 +0000
     5.3 @@ -30,11 +30,29 @@
     5.4       */
     5.5      public NewPropertyPanel() {
     5.6          name = new JTextField(20);
     5.7 +        name.getAccessibleContext().setAccessibleDescription (JndiRootNode.getLocalizedString ("AD_PropertyName"));
     5.8          value= new JTextField(20);
     5.9 -        add(new JLabel(NbBundle.getBundle(NewPropertyPanel.class).getString("TXT_PropertyName")),1,1,1,1,8,8,8,8);
    5.10 +        value.getAccessibleContext().setAccessibleDescription (JndiRootNode.getLocalizedString("AD_PropertyValue"));
    5.11 +        JLabel label = new JLabel(NbBundle.getBundle(NewPropertyPanel.class).getString("TXT_PropertyName"));
    5.12 +        label.setLabelFor (name);
    5.13 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_PropertyName_MNEM").charAt(0));
    5.14 +        add(label,1,1,1,1,8,8,8,8);
    5.15          add(this.name,2,1,2,1,8,0,8,8);
    5.16 -        add(new JLabel(NbBundle.getBundle(NewPropertyPanel.class).getString("TXT_PropertyValue")),1,2,1,1,0,8,8,8);
    5.17 +        label = new JLabel(NbBundle.getBundle(NewPropertyPanel.class).getString("TXT_PropertyValue"));
    5.18 +        label.setLabelFor (value);
    5.19 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_PropertyValue_MNEM").charAt(0));
    5.20 +        add(label,1,2,1,1,0,8,8,8);
    5.21          add(this.value,2,2,2,1,0,0,8,8);
    5.22 +        this.name.requestFocus ();
    5.23 +    }
    5.24 +    
    5.25 +    public boolean requestDefaultFocus () {
    5.26 +        this.name.requestFocus ();
    5.27 +        return true;
    5.28 +    }
    5.29 +    
    5.30 +    public void requestFocus () {
    5.31 +        this.name.requestFocus();
    5.32      }
    5.33  
    5.34      /** Accessor for name of property
     6.1 --- a/jndi/src/org/netbeans/modules/jndi/NewProviderPanel.java	Wed Oct 31 13:26:48 2001 +0000
     6.2 +++ b/jndi/src/org/netbeans/modules/jndi/NewProviderPanel.java	Wed Oct 31 16:39:20 2001 +0000
     6.3 @@ -37,6 +37,17 @@
     6.4      public NewProviderPanel() {
     6.5          super();
     6.6          this.listeners = new PropertyChangeSupport(this);
     6.7 +        javax.accessibility.AccessibleContext ac = this.getAccessibleContext();
     6.8 +        ac.setAccessibleName (JndiRootNode.getLocalizedString("TIP_Installation"));
     6.9 +    }
    6.10 +    
    6.11 +    public boolean requestDefaultFocus () {
    6.12 +        this.factory.requestFocus();
    6.13 +        return true;
    6.14 +    }
    6.15 +    
    6.16 +    public void requestFocus () {
    6.17 +        this.factory.requestFocus();
    6.18      }
    6.19  
    6.20      /** Accessor for Factory
    6.21 @@ -49,6 +60,7 @@
    6.22      /** Creates an part of GUI  called from createGUI*/
    6.23      JPanel createSubGUI(){
    6.24          this.factory = new JTextField();
    6.25 +        this.factory.getAccessibleContext().setAccessibleDescription ("AD_Factory");
    6.26          this.context = new JTextField();
    6.27          this.authentification = new JTextField();
    6.28          this.principal = new JTextField();
    6.29 @@ -58,6 +70,8 @@
    6.30          p.setLayout ( new GridBagLayout());
    6.31          GridBagConstraints gridBagConstraints;
    6.32          JLabel label = new JLabel (JndiRootNode.getLocalizedString("TXT_Factory"));
    6.33 +        label.setLabelFor (this.factory);
    6.34 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_Factory_MNEM").charAt(0));
    6.35          gridBagConstraints = new java.awt.GridBagConstraints ();
    6.36          gridBagConstraints.gridx = 0;
    6.37          gridBagConstraints.gridy = 1;
    6.38 @@ -66,6 +80,8 @@
    6.39          gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    6.40          p.add (label, gridBagConstraints);
    6.41          label = new JLabel (JndiRootNode.getLocalizedString("TXT_InitialContext"));
    6.42 +        label.setLabelFor (this.context);
    6.43 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString("TXT_InitialContext_MNEM").charAt(0));
    6.44          gridBagConstraints = new java.awt.GridBagConstraints ();
    6.45          gridBagConstraints.gridx = 0;
    6.46          gridBagConstraints.gridy = 2;
    6.47 @@ -74,6 +90,8 @@
    6.48          gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    6.49          p.add (label, gridBagConstraints);
    6.50          label = new JLabel (JndiRootNode.getLocalizedString("TXT_Root"));
    6.51 +        label.setLabelFor (this.root);
    6.52 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString("TXT_Root_MNEM").charAt(0));
    6.53          gridBagConstraints = new java.awt.GridBagConstraints ();
    6.54          gridBagConstraints.gridx = 0;
    6.55          gridBagConstraints.gridy = 3;
    6.56 @@ -82,6 +100,8 @@
    6.57          gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    6.58          p.add (label, gridBagConstraints);
    6.59          label = new JLabel (JndiRootNode.getLocalizedString("TXT_Auth"));
    6.60 +        label.setLabelFor (this.authentification);
    6.61 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_Auth_MNEM").charAt(0));
    6.62          gridBagConstraints = new java.awt.GridBagConstraints ();
    6.63          gridBagConstraints.gridx = 0;
    6.64          gridBagConstraints.gridy = 4;
    6.65 @@ -90,6 +110,8 @@
    6.66          gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    6.67          p.add (label, gridBagConstraints);
    6.68          label = new JLabel (JndiRootNode.getLocalizedString("TXT_Principal"));
    6.69 +        label.setLabelFor (this.principal);
    6.70 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString("TXT_Principal_MNEM").charAt(0));
    6.71          gridBagConstraints = new java.awt.GridBagConstraints ();
    6.72          gridBagConstraints.gridx = 0;
    6.73          gridBagConstraints.gridy = 5;
    6.74 @@ -98,6 +120,8 @@
    6.75          gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    6.76          p.add (label, gridBagConstraints);
    6.77          label = new JLabel (JndiRootNode.getLocalizedString("TXT_Credentials"));
    6.78 +        label.setLabelFor (this.credentials);
    6.79 +        label.setDisplayedMnemonic (JndiRootNode.getLocalizedString("TXT_Credentials_MNEM").charAt(0));
    6.80          gridBagConstraints = new java.awt.GridBagConstraints ();
    6.81          gridBagConstraints.gridx = 0;
    6.82          gridBagConstraints.gridy = 6;
    6.83 @@ -174,4 +198,4 @@
    6.84          return p;
    6.85      }
    6.86  
    6.87 -}
    6.88 \ No newline at end of file
    6.89 +}
     7.1 --- a/jndi/src/org/netbeans/modules/jndi/gui/AttributePanel.form	Wed Oct 31 13:26:48 2001 +0000
     7.2 +++ b/jndi/src/org/netbeans/modules/jndi/gui/AttributePanel.form	Wed Oct 31 16:39:20 2001 +0000
     7.3 @@ -1,14 +1,8 @@
     7.4 -<?xml version="1.0" encoding="ISO-8859-1" ?>
     7.5 +<?xml version="1.0" encoding="UTF-8" ?>
     7.6  
     7.7  <Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
     7.8    <SyntheticProperties>
     7.9 -    <SyntheticProperty name="formSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,0,-56,0,0,1,44"/>
    7.10 -    <SyntheticProperty name="formPosition" type="java.awt.Point" value="-84,-19,0,5,115,114,0,14,106,97,118,97,46,97,119,116,46,80,111,105,110,116,-74,-60,-118,114,52,126,-56,38,2,0,2,73,0,1,120,73,0,1,121,120,112,0,0,0,0,0,0,0,0"/>
    7.11 -    <SyntheticProperty name="formSizePolicy" type="int" value="2"/>
    7.12 -    <SyntheticProperty name="generatePosition" type="boolean" value="true"/>
    7.13 -    <SyntheticProperty name="generateSize" type="boolean" value="true"/>
    7.14 -    <SyntheticProperty name="generateCenter" type="boolean" value="true"/>
    7.15 -    <SyntheticProperty name="encoding" type="java.lang.String" value="ISO-8859-1"/>
    7.16 +    <SyntheticProperty name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
    7.17    </SyntheticProperties>
    7.18  
    7.19    <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
    7.20 @@ -16,10 +10,7 @@
    7.21      <Container class="javax.swing.JPanel" name="jPanel1">
    7.22        <Constraints>
    7.23          <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
    7.24 -          <GridBagConstraints anchor="18" fill="0" gridHeight="1" gridWidth="1" gridX="1" gridY="1" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
    7.25 -        </Constraint>
    7.26 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
    7.27 -          <BorderConstraints direction="East"/>
    7.28 +          <GridBagConstraints gridX="1" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
    7.29          </Constraint>
    7.30        </Constraints>
    7.31  
    7.32 @@ -27,38 +18,46 @@
    7.33        <SubComponents>
    7.34          <Component class="javax.swing.JButton" name="addButton">
    7.35            <Properties>
    7.36 +            <Property name="mnemonic" type="int" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
    7.37 +              <Connection code="JndiRootNode.getLocalizedString(&quot;TXT_AddAttribute_MNEM&quot;).charAt(0)" type="code"/>
    7.38 +            </Property>
    7.39              <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
    7.40                <Connection code="JndiRootNode.getLocalizedString(&quot;TXT_AddAttribute&quot;)" type="code"/>
    7.41              </Property>
    7.42            </Properties>
    7.43            <Constraints>
    7.44              <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
    7.45 -              <GridBagConstraints anchor="18" fill="2" gridHeight="1" gridWidth="0" gridX="-1" gridY="-1" insetsBottom="4" insetsLeft="8" insetsRight="8" insetsTop="8" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
    7.46 +              <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="8" insetsLeft="8" insetsBottom="4" insetsRight="8" anchor="18" weightX="0.0" weightY="0.0"/>
    7.47              </Constraint>
    7.48 -            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout" value="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout$FlowConstraintsDescription"/>
    7.49            </Constraints>
    7.50          </Component>
    7.51          <Component class="javax.swing.JButton" name="removeButton">
    7.52            <Properties>
    7.53 +            <Property name="mnemonic" type="int" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
    7.54 +              <Connection code="JndiRootNode.getLocalizedString (&quot;TXT_RemoveAttribute_MNEM&quot;).charAt(0)" type="code"/>
    7.55 +            </Property>
    7.56              <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
    7.57                <Connection code="JndiRootNode.getLocalizedString(&quot;TXT_RemoveAttribute&quot;)" type="code"/>
    7.58              </Property>
    7.59            </Properties>
    7.60            <Constraints>
    7.61              <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
    7.62 -              <GridBagConstraints anchor="18" fill="2" gridHeight="1" gridWidth="0" gridX="0" gridY="2" insetsBottom="4" insetsLeft="8" insetsRight="8" insetsTop="4" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
    7.63 +              <GridBagConstraints gridX="0" gridY="2" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="8" insetsBottom="4" insetsRight="8" anchor="18" weightX="0.0" weightY="0.0"/>
    7.64              </Constraint>
    7.65            </Constraints>
    7.66          </Component>
    7.67          <Component class="javax.swing.JButton" name="editButton">
    7.68            <Properties>
    7.69 +            <Property name="mnemonic" type="int" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
    7.70 +              <Connection code="JndiRootNode.getLocalizedString(&quot;TXT_ModifyAttribute_MNEM&quot;).charAt(0)" type="code"/>
    7.71 +            </Property>
    7.72              <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
    7.73                <Connection code="JndiRootNode.getLocalizedString(&quot;TXT_ModifyAttribute&quot;)" type="code"/>
    7.74              </Property>
    7.75            </Properties>
    7.76            <Constraints>
    7.77              <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
    7.78 -              <GridBagConstraints anchor="18" fill="2" gridHeight="1" gridWidth="0" gridX="0" gridY="1" insetsBottom="8" insetsLeft="8" insetsRight="8" insetsTop="4" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
    7.79 +              <GridBagConstraints gridX="0" gridY="1" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="8" insetsBottom="8" insetsRight="8" anchor="18" weightX="0.0" weightY="0.0"/>
    7.80              </Constraint>
    7.81            </Constraints>
    7.82          </Component>
    7.83 @@ -67,10 +66,7 @@
    7.84      <Container class="javax.swing.JScrollPane" name="jScrollPane1">
    7.85        <Constraints>
    7.86          <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
    7.87 -          <GridBagConstraints anchor="10" fill="1" gridHeight="1" gridWidth="1" gridX="0" gridY="1" insetsBottom="8" insetsLeft="8" insetsRight="0" insetsTop="4" ipadX="0" ipadY="0" weightX="0.8" weightY="0.8"/>
    7.88 -        </Constraint>
    7.89 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
    7.90 -          <BorderConstraints direction="Center"/>
    7.91 +          <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="8" insetsBottom="8" insetsRight="0" anchor="10" weightX="0.8" weightY="0.8"/>
    7.92          </Constraint>
    7.93        </Constraints>
    7.94  
    7.95 @@ -78,11 +74,8 @@
    7.96        <SubComponents>
    7.97          <Component class="javax.swing.JList" name="attrList">
    7.98            <Properties>
    7.99 -            <Property name="valueIsAdjusting" type="boolean" editor="sun.beans.editors.BoolEditor" value="true"/>
   7.100 +            <Property name="valueIsAdjusting" type="boolean" value="true"/>
   7.101            </Properties>
   7.102 -          <Constraints>
   7.103 -            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout$JScrollPaneConstraintsDescription"/>
   7.104 -          </Constraints>
   7.105          </Component>
   7.106        </SubComponents>
   7.107      </Container>
   7.108 @@ -91,13 +84,13 @@
   7.109          <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
   7.110            <Connection code="JndiRootNode.getLocalizedString(&quot;TXT_AttributeList&quot;)" type="code"/>
   7.111          </Property>
   7.112 +        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
   7.113 +          <Connection component="attrList" type="bean"/>
   7.114 +        </Property>
   7.115        </Properties>
   7.116        <Constraints>
   7.117          <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
   7.118 -          <GridBagConstraints anchor="18" fill="0" gridHeight="1" gridWidth="1" gridX="0" gridY="0" insetsBottom="4" insetsLeft="8" insetsRight="8" insetsTop="8" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
   7.119 -        </Constraint>
   7.120 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
   7.121 -          <BorderConstraints direction="North"/>
   7.122 +          <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="8" insetsLeft="8" insetsBottom="4" insetsRight="8" anchor="18" weightX="0.0" weightY="0.0"/>
   7.123          </Constraint>
   7.124        </Constraints>
   7.125      </Component>
     8.1 --- a/jndi/src/org/netbeans/modules/jndi/gui/AttributePanel.java	Wed Oct 31 13:26:48 2001 +0000
     8.2 +++ b/jndi/src/org/netbeans/modules/jndi/gui/AttributePanel.java	Wed Oct 31 16:39:20 2001 +0000
     8.3 @@ -50,111 +50,122 @@
     8.4          this.offset = offset;
     8.5          this.owner = owner;
     8.6          initComponents ();
     8.7 +        jLabel1.setDisplayedMnemonic (JndiRootNode.getLocalizedString("TXT_AttributeList_MNEM").charAt(0));
     8.8          addButton.addActionListener(this);
     8.9 +        addButton.getAccessibleContext().setAccessibleDescription (JndiRootNode.getLocalizedString("AD_AddAttribute"));
    8.10          removeButton.setEnabled(false);
    8.11          removeButton.addActionListener(this);
    8.12 +        removeButton.getAccessibleContext().setAccessibleDescription (JndiRootNode.getLocalizedString("AD_RemoveAttribute"));
    8.13          editButton.setEnabled(false);
    8.14          editButton.addActionListener(this);
    8.15 +        editButton.getAccessibleContext().setAccessibleDescription (JndiRootNode.getLocalizedString("AD_ModifyAttribute"));
    8.16          attrList.addListSelectionListener(this);
    8.17          model = new SimpleListModel();
    8.18          attrList.setPrototypeCellValue("012345678901234567890123456789");
    8.19          attrList.setModel(model);
    8.20 +        attrList.getAccessibleContext().setAccessibleDescription (JndiRootNode.getLocalizedString("AD_AttributeList"));
    8.21 +        this.attrList.requestFocus();
    8.22          initData();
    8.23      }
    8.24 +    
    8.25 +    public void requestFocus () {
    8.26 +        this.attrList.requestFocus();
    8.27 +    }
    8.28 +    
    8.29 +    public boolean requestDefaultFocus () {
    8.30 +        this.attrList.requestFocus();
    8.31 +        return true;
    8.32 +    }
    8.33  
    8.34      /** This method is called from within the constructor to
    8.35       * initialize the form.
    8.36       * WARNING: Do NOT modify this code. The content of this method is
    8.37       * always regenerated by the FormEditor.
    8.38       */
    8.39 -    private void initComponents () {//GEN-BEGIN:initComponents
    8.40 -        jPanel1 = new javax.swing.JPanel ();
    8.41 -        addButton = new javax.swing.JButton ();
    8.42 -        removeButton = new javax.swing.JButton ();
    8.43 -        editButton = new javax.swing.JButton ();
    8.44 -        jScrollPane1 = new javax.swing.JScrollPane ();
    8.45 -        attrList = new javax.swing.JList ();
    8.46 -        jLabel1 = new javax.swing.JLabel ();
    8.47 -        setLayout (new java.awt.GridBagLayout ());
    8.48 -        java.awt.GridBagConstraints gridBagConstraints1;
    8.49 +    private void initComponents() {//GEN-BEGIN:initComponents
    8.50 +        java.awt.GridBagConstraints gridBagConstraints;
    8.51  
    8.52 -        jPanel1.setLayout (new java.awt.GridBagLayout ());
    8.53 -        java.awt.GridBagConstraints gridBagConstraints2;
    8.54 +        jPanel1 = new javax.swing.JPanel();
    8.55 +        addButton = new javax.swing.JButton();
    8.56 +        removeButton = new javax.swing.JButton();
    8.57 +        editButton = new javax.swing.JButton();
    8.58 +        jScrollPane1 = new javax.swing.JScrollPane();
    8.59 +        attrList = new javax.swing.JList();
    8.60 +        jLabel1 = new javax.swing.JLabel();
    8.61  
    8.62 -        addButton.setText (JndiRootNode.getLocalizedString("TXT_AddAttribute"));
    8.63 +        setLayout(new java.awt.GridBagLayout());
    8.64  
    8.65 -        gridBagConstraints2 = new java.awt.GridBagConstraints ();
    8.66 -        gridBagConstraints2.gridwidth = 0;
    8.67 -        gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL;
    8.68 -        gridBagConstraints2.insets = new java.awt.Insets (8, 8, 4, 8);
    8.69 -        gridBagConstraints2.anchor = java.awt.GridBagConstraints.NORTHWEST;
    8.70 -        jPanel1.add (addButton, gridBagConstraints2);
    8.71 +        jPanel1.setLayout(new java.awt.GridBagLayout());
    8.72  
    8.73 -        removeButton.setText (JndiRootNode.getLocalizedString("TXT_RemoveAttribute"));
    8.74 +        addButton.setMnemonic(JndiRootNode.getLocalizedString("TXT_AddAttribute_MNEM").charAt(0));
    8.75 +        addButton.setText(JndiRootNode.getLocalizedString("TXT_AddAttribute"));
    8.76 +        gridBagConstraints = new java.awt.GridBagConstraints();
    8.77 +        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    8.78 +        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    8.79 +        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    8.80 +        gridBagConstraints.insets = new java.awt.Insets(8, 8, 4, 8);
    8.81 +        jPanel1.add(addButton, gridBagConstraints);
    8.82  
    8.83 -        gridBagConstraints2 = new java.awt.GridBagConstraints ();
    8.84 -        gridBagConstraints2.gridx = 0;
    8.85 -        gridBagConstraints2.gridy = 2;
    8.86 -        gridBagConstraints2.gridwidth = 0;
    8.87 -        gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL;
    8.88 -        gridBagConstraints2.insets = new java.awt.Insets (4, 8, 4, 8);
    8.89 -        gridBagConstraints2.anchor = java.awt.GridBagConstraints.NORTHWEST;
    8.90 -        jPanel1.add (removeButton, gridBagConstraints2);
    8.91 +        removeButton.setMnemonic(JndiRootNode.getLocalizedString ("TXT_RemoveAttribute_MNEM").charAt(0));
    8.92 +        removeButton.setText(JndiRootNode.getLocalizedString("TXT_RemoveAttribute"));
    8.93 +        gridBagConstraints = new java.awt.GridBagConstraints();
    8.94 +        gridBagConstraints.gridx = 0;
    8.95 +        gridBagConstraints.gridy = 2;
    8.96 +        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
    8.97 +        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    8.98 +        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    8.99 +        gridBagConstraints.insets = new java.awt.Insets(4, 8, 4, 8);
   8.100 +        jPanel1.add(removeButton, gridBagConstraints);
   8.101  
   8.102 -        editButton.setText (JndiRootNode.getLocalizedString("TXT_ModifyAttribute"));
   8.103 +        editButton.setMnemonic(JndiRootNode.getLocalizedString("TXT_ModifyAttribute_MNEM").charAt(0));
   8.104 +        editButton.setText(JndiRootNode.getLocalizedString("TXT_ModifyAttribute"));
   8.105 +        gridBagConstraints = new java.awt.GridBagConstraints();
   8.106 +        gridBagConstraints.gridx = 0;
   8.107 +        gridBagConstraints.gridy = 1;
   8.108 +        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
   8.109 +        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
   8.110 +        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
   8.111 +        gridBagConstraints.insets = new java.awt.Insets(4, 8, 8, 8);
   8.112 +        jPanel1.add(editButton, gridBagConstraints);
   8.113  
   8.114 -        gridBagConstraints2 = new java.awt.GridBagConstraints ();
   8.115 -        gridBagConstraints2.gridx = 0;
   8.116 -        gridBagConstraints2.gridy = 1;
   8.117 -        gridBagConstraints2.gridwidth = 0;
   8.118 -        gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL;
   8.119 -        gridBagConstraints2.insets = new java.awt.Insets (4, 8, 8, 8);
   8.120 -        gridBagConstraints2.anchor = java.awt.GridBagConstraints.NORTHWEST;
   8.121 -        jPanel1.add (editButton, gridBagConstraints2);
   8.122 +        gridBagConstraints = new java.awt.GridBagConstraints();
   8.123 +        gridBagConstraints.gridx = 1;
   8.124 +        gridBagConstraints.gridy = 1;
   8.125 +        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
   8.126 +        add(jPanel1, gridBagConstraints);
   8.127  
   8.128 +        attrList.setValueIsAdjusting(true);
   8.129 +        jScrollPane1.setViewportView(attrList);
   8.130  
   8.131 -        gridBagConstraints1 = new java.awt.GridBagConstraints ();
   8.132 -        gridBagConstraints1.gridx = 1;
   8.133 -        gridBagConstraints1.gridy = 1;
   8.134 -        gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTHWEST;
   8.135 -        add (jPanel1, gridBagConstraints1);
   8.136 +        gridBagConstraints = new java.awt.GridBagConstraints();
   8.137 +        gridBagConstraints.gridx = 0;
   8.138 +        gridBagConstraints.gridy = 1;
   8.139 +        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
   8.140 +        gridBagConstraints.weightx = 0.8;
   8.141 +        gridBagConstraints.weighty = 0.8;
   8.142 +        gridBagConstraints.insets = new java.awt.Insets(4, 8, 8, 0);
   8.143 +        add(jScrollPane1, gridBagConstraints);
   8.144  
   8.145 -
   8.146 -        attrList.setValueIsAdjusting (true);
   8.147 -
   8.148 -        jScrollPane1.setViewportView (attrList);
   8.149 -
   8.150 -
   8.151 -        gridBagConstraints1 = new java.awt.GridBagConstraints ();
   8.152 -        gridBagConstraints1.gridx = 0;
   8.153 -        gridBagConstraints1.gridy = 1;
   8.154 -        gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
   8.155 -        gridBagConstraints1.insets = new java.awt.Insets (4, 8, 8, 0);
   8.156 -        gridBagConstraints1.weightx = 0.8;
   8.157 -        gridBagConstraints1.weighty = 0.8;
   8.158 -        add (jScrollPane1, gridBagConstraints1);
   8.159 -
   8.160 -        jLabel1.setText (JndiRootNode.getLocalizedString("TXT_AttributeList"));
   8.161 -
   8.162 -
   8.163 -        gridBagConstraints1 = new java.awt.GridBagConstraints ();
   8.164 -        gridBagConstraints1.gridx = 0;
   8.165 -        gridBagConstraints1.gridy = 0;
   8.166 -        gridBagConstraints1.insets = new java.awt.Insets (8, 8, 4, 8);
   8.167 -        gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTHWEST;
   8.168 -        add (jLabel1, gridBagConstraints1);
   8.169 +        jLabel1.setText(JndiRootNode.getLocalizedString("TXT_AttributeList"));
   8.170 +        jLabel1.setLabelFor(attrList);
   8.171 +        gridBagConstraints = new java.awt.GridBagConstraints();
   8.172 +        gridBagConstraints.gridx = 0;
   8.173 +        gridBagConstraints.gridy = 0;
   8.174 +        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
   8.175 +        gridBagConstraints.insets = new java.awt.Insets(8, 8, 4, 8);
   8.176 +        add(jLabel1, gridBagConstraints);
   8.177  
   8.178      }//GEN-END:initComponents
   8.179  
   8.180  
   8.181      // Variables declaration - do not modify//GEN-BEGIN:variables
   8.182 +    private javax.swing.JButton addButton;
   8.183 +    private javax.swing.JScrollPane jScrollPane1;
   8.184 +    private javax.swing.JLabel jLabel1;
   8.185 +    private javax.swing.JList attrList;
   8.186      private javax.swing.JPanel jPanel1;
   8.187 -    private javax.swing.JButton addButton;
   8.188 +    private javax.swing.JButton editButton;
   8.189      private javax.swing.JButton removeButton;
   8.190 -    private javax.swing.JButton editButton;
   8.191 -    private javax.swing.JScrollPane jScrollPane1;
   8.192 -    private javax.swing.JList attrList;
   8.193 -    private javax.swing.JLabel jLabel1;
   8.194      // End of variables declaration//GEN-END:variables
   8.195  
   8.196      /** Sets the data
     9.1 --- a/jndi/src/org/netbeans/modules/jndi/gui/CreateAttributePanel.form	Wed Oct 31 13:26:48 2001 +0000
     9.2 +++ b/jndi/src/org/netbeans/modules/jndi/gui/CreateAttributePanel.form	Wed Oct 31 16:39:20 2001 +0000
     9.3 @@ -1,6 +1,9 @@
     9.4 -<?xml version="1.0" encoding="ISO-8859-1" ?>
     9.5 +<?xml version="1.0" encoding="UTF-8" ?>
     9.6  
     9.7 -<Form version="1.0" type="org.netbeans.modules.form.forminfo.PanelFormInfo">
     9.8 +<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
     9.9 +  <SyntheticProperties>
    9.10 +    <SyntheticProperty name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
    9.11 +  </SyntheticProperties>
    9.12  
    9.13    <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
    9.14    <SubComponents>
    9.15 @@ -9,20 +12,23 @@
    9.16          <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
    9.17            <Connection code="JndiRootNode.getLocalizedString(&quot;TXT_AttributeName&quot;)" type="code"/>
    9.18          </Property>
    9.19 +        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
    9.20 +          <Connection component="name" type="bean"/>
    9.21 +        </Property>
    9.22        </Properties>
    9.23        <Constraints>
    9.24          <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
    9.25 -          <GridBagConstraints anchor="10" fill="0" gridHeight="1" gridWidth="1" gridX="-1" gridY="-1" insetsBottom="4" insetsLeft="8" insetsRight="4" insetsTop="8" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
    9.26 +          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="8" insetsLeft="8" insetsBottom="4" insetsRight="4" anchor="10" weightX="0.0" weightY="0.0"/>
    9.27          </Constraint>
    9.28        </Constraints>
    9.29      </Component>
    9.30      <Component class="javax.swing.JTextField" name="name">
    9.31        <Properties>
    9.32 -        <Property name="columns" type="int" editor="sun.beans.editors.IntEditor" value="16"/>
    9.33 +        <Property name="columns" type="int" value="16"/>
    9.34        </Properties>
    9.35        <Constraints>
    9.36          <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
    9.37 -          <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="0" gridX="1" gridY="0" insetsBottom="4" insetsLeft="4" insetsRight="8" insetsTop="8" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
    9.38 +          <GridBagConstraints gridX="1" gridY="0" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="8" insetsLeft="4" insetsBottom="4" insetsRight="8" anchor="10" weightX="0.0" weightY="0.0"/>
    9.39          </Constraint>
    9.40        </Constraints>
    9.41      </Component>
    9.42 @@ -31,20 +37,23 @@
    9.43          <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
    9.44            <Connection code="JndiRootNode.getLocalizedString(&quot;TXT_AttributeValue&quot;)" type="code"/>
    9.45          </Property>
    9.46 +        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
    9.47 +          <Connection component="value" type="bean"/>
    9.48 +        </Property>
    9.49        </Properties>
    9.50        <Constraints>
    9.51          <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
    9.52 -          <GridBagConstraints anchor="10" fill="0" gridHeight="1" gridWidth="1" gridX="0" gridY="1" insetsBottom="8" insetsLeft="8" insetsRight="4" insetsTop="4" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
    9.53 +          <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="8" insetsBottom="8" insetsRight="4" anchor="10" weightX="0.0" weightY="0.0"/>
    9.54          </Constraint>
    9.55        </Constraints>
    9.56      </Component>
    9.57      <Component class="javax.swing.JTextField" name="value">
    9.58        <Properties>
    9.59 -        <Property name="columns" type="int" editor="sun.beans.editors.IntEditor" value="16"/>
    9.60 +        <Property name="columns" type="int" value="16"/>
    9.61        </Properties>
    9.62        <Constraints>
    9.63          <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
    9.64 -          <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="0" gridX="1" gridY="1" insetsBottom="8" insetsLeft="4" insetsRight="8" insetsTop="4" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
    9.65 +          <GridBagConstraints gridX="1" gridY="1" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="4" insetsBottom="8" insetsRight="8" anchor="10" weightX="0.0" weightY="0.0"/>
    9.66          </Constraint>
    9.67        </Constraints>
    9.68      </Component>
    10.1 --- a/jndi/src/org/netbeans/modules/jndi/gui/CreateAttributePanel.java	Wed Oct 31 13:26:48 2001 +0000
    10.2 +++ b/jndi/src/org/netbeans/modules/jndi/gui/CreateAttributePanel.java	Wed Oct 31 16:39:20 2001 +0000
    10.3 @@ -24,8 +24,22 @@
    10.4      /** Creates new form CreateAttributePanel */
    10.5      public CreateAttributePanel() {
    10.6          initComponents ();
    10.7 +        this.nameLabel.setDisplayedMnemonic (JndiRootNode.getLocalizedString ("TXT_AttributeName_MNEM").charAt(0));
    10.8 +        this.valueLabel.setDisplayedMnemonic (JndiRootNode.getLocalizedString("TXT_AttributeValue_MNEN").charAt(0));
    10.9 +        this.nameLabel.requestFocus();
   10.10 +        name.getAccessibleContext().setAccessibleDescription (JndiRootNode.getLocalizedString ("AD_AttributeName"));
   10.11 +        value.getAccessibleContext().setAccessibleDescription (JndiRootNode.getLocalizedString("AD_AttributeValue"));
   10.12      }
   10.13  
   10.14 +    public void requestFocus () {
   10.15 +        this.name.requestFocus();
   10.16 +    }
   10.17 +    
   10.18 +    public boolean requestDefaultFocus () {
   10.19 +        this.name.requestFocus();
   10.20 +        return true;
   10.21 +    }
   10.22 +    
   10.23      /** Returns the name of the Attribute
   10.24       *  @return String name
   10.25       */
   10.26 @@ -60,60 +74,56 @@
   10.27       * WARNING: Do NOT modify this code. The content of this method is
   10.28       * always regenerated by the FormEditor.
   10.29       */
   10.30 -    private void initComponents () {//GEN-BEGIN:initComponents
   10.31 -        nameLabel = new javax.swing.JLabel ();
   10.32 -        name = new javax.swing.JTextField ();
   10.33 -        valueLabel = new javax.swing.JLabel ();
   10.34 -        value = new javax.swing.JTextField ();
   10.35 -        setLayout (new java.awt.GridBagLayout ());
   10.36 -        java.awt.GridBagConstraints gridBagConstraints1;
   10.37 +    private void initComponents() {//GEN-BEGIN:initComponents
   10.38 +        java.awt.GridBagConstraints gridBagConstraints;
   10.39  
   10.40 -        nameLabel.setText (JndiRootNode.getLocalizedString("TXT_AttributeName"));
   10.41 +        nameLabel = new javax.swing.JLabel();
   10.42 +        name = new javax.swing.JTextField();
   10.43 +        valueLabel = new javax.swing.JLabel();
   10.44 +        value = new javax.swing.JTextField();
   10.45  
   10.46 +        setLayout(new java.awt.GridBagLayout());
   10.47  
   10.48 -        gridBagConstraints1 = new java.awt.GridBagConstraints ();
   10.49 -        gridBagConstraints1.insets = new java.awt.Insets (8, 8, 4, 4);
   10.50 -        add (nameLabel, gridBagConstraints1);
   10.51 +        nameLabel.setText(JndiRootNode.getLocalizedString("TXT_AttributeName"));
   10.52 +        nameLabel.setLabelFor(name);
   10.53 +        gridBagConstraints = new java.awt.GridBagConstraints();
   10.54 +        gridBagConstraints.insets = new java.awt.Insets(8, 8, 4, 4);
   10.55 +        add(nameLabel, gridBagConstraints);
   10.56  
   10.57 -        name.setColumns (16);
   10.58 +        name.setColumns(16);
   10.59 +        gridBagConstraints = new java.awt.GridBagConstraints();
   10.60 +        gridBagConstraints.gridx = 1;
   10.61 +        gridBagConstraints.gridy = 0;
   10.62 +        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
   10.63 +        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
   10.64 +        gridBagConstraints.insets = new java.awt.Insets(8, 4, 4, 8);
   10.65 +        add(name, gridBagConstraints);
   10.66  
   10.67 +        valueLabel.setText(JndiRootNode.getLocalizedString("TXT_AttributeValue"));
   10.68 +        valueLabel.setLabelFor(value);
   10.69 +        gridBagConstraints = new java.awt.GridBagConstraints();
   10.70 +        gridBagConstraints.gridx = 0;
   10.71 +        gridBagConstraints.gridy = 1;
   10.72 +        gridBagConstraints.insets = new java.awt.Insets(4, 8, 8, 4);
   10.73 +        add(valueLabel, gridBagConstraints);
   10.74  
   10.75 -        gridBagConstraints1 = new java.awt.GridBagConstraints ();
   10.76 -        gridBagConstraints1.gridx = 1;
   10.77 -        gridBagConstraints1.gridy = 0;
   10.78 -        gridBagConstraints1.gridwidth = 0;
   10.79 -        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
   10.80 -        gridBagConstraints1.insets = new java.awt.Insets (8, 4, 4, 8);
   10.81 -        add (name, gridBagConstraints1);
   10.82 -
   10.83 -        valueLabel.setText (JndiRootNode.getLocalizedString("TXT_AttributeValue"));
   10.84 -
   10.85 -
   10.86 -        gridBagConstraints1 = new java.awt.GridBagConstraints ();
   10.87 -        gridBagConstraints1.gridx = 0;
   10.88 -        gridBagConstraints1.gridy = 1;
   10.89 -        gridBagConstraints1.insets = new java.awt.Insets (4, 8, 8, 4);
   10.90 -        add (valueLabel, gridBagConstraints1);
   10.91 -
   10.92 -        value.setColumns (16);
   10.93 -
   10.94 -
   10.95 -        gridBagConstraints1 = new java.awt.GridBagConstraints ();
   10.96 -        gridBagConstraints1.gridx = 1;
   10.97 -        gridBagConstraints1.gridy = 1;
   10.98 -        gridBagConstraints1.gridwidth = 0;
   10.99 -        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
  10.100 -        gridBagConstraints1.insets = new java.awt.Insets (4, 4, 8, 8);
  10.101 -        add (value, gridBagConstraints1);
  10.102 +        value.setColumns(16);
  10.103 +        gridBagConstraints = new java.awt.GridBagConstraints();
  10.104 +        gridBagConstraints.gridx = 1;
  10.105 +        gridBagConstraints.gridy = 1;
  10.106 +        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
  10.107 +        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
  10.108 +        gridBagConstraints.insets = new java.awt.Insets(4, 4, 8, 8);
  10.109 +        add(value, gridBagConstraints);
  10.110  
  10.111      }//GEN-END:initComponents
  10.112  
  10.113  
  10.114      // Variables declaration - do not modify//GEN-BEGIN:variables
  10.115      private javax.swing.JLabel nameLabel;
  10.116 -    private javax.swing.JTextField name;
  10.117      private javax.swing.JLabel valueLabel;
  10.118      private javax.swing.JTextField value;
  10.119 +    private javax.swing.JTextField name;
  10.120      // End of variables declaration//GEN-END:variables
  10.121  
  10.122  }
  10.123 \ No newline at end of file
    11.1 --- a/jndi/src/org/netbeans/modules/jndi/gui/NotFoundPanel.java	Wed Oct 31 13:26:48 2001 +0000
    11.2 +++ b/jndi/src/org/netbeans/modules/jndi/gui/NotFoundPanel.java	Wed Oct 31 16:39:20 2001 +0000
    11.3 @@ -30,11 +30,18 @@
    11.4       *  @param String provider, the provider class
    11.5       */
    11.6      public NotFoundPanel(String provider) {
    11.7 -        JLabel label;
    11.8 -        JTextArea comments;
    11.9 +        String errMsg = JndiRootNode.getLocalizedString("EXC_ClassNotFound");
   11.10 +        String errTip = JndiRootNode.getLocalizedString ("TIP_Installation");
   11.11 +        JLabel label = new JLabel(errMsg);
   11.12 +        JTextArea comments = new JTextArea(errTip,2,66);
   11.13 +        comments.setLineWrap(true);
   11.14 +        comments.setWrapStyleWord(true);
   11.15 +        comments.setEnabled(false);
   11.16 +        comments.setBackground(label.getBackground());
   11.17 +        javax.accessibility.AccessibleContext ac = this.getAccessibleContext();
   11.18 +        ac.setAccessibleName (errMsg+errTip);
   11.19          GridBagConstraints c;
   11.20          this.setLayout( new GridBagLayout());
   11.21 -        label = new JLabel(JndiRootNode.getLocalizedString("EXC_ClassNotFound"));
   11.22          c  = new GridBagConstraints();
   11.23          c.gridx = 0;
   11.24          c.gridy = 0;
   11.25 @@ -47,11 +54,6 @@
   11.26          c.weighty = 0.0;
   11.27          ((GridBagLayout)this.getLayout()).setConstraints(label,c);
   11.28          this.add(label);
   11.29 -        comments = new JTextArea(JndiRootNode.getLocalizedString("TIP_Installation"),2,66);
   11.30 -        comments.setLineWrap(true);
   11.31 -        comments.setWrapStyleWord(true);
   11.32 -        comments.setEnabled(false);
   11.33 -        comments.setBackground(label.getBackground());
   11.34          c = new GridBagConstraints();
   11.35          c.gridx = 0;
   11.36          c.gridy = 1;
    12.1 --- a/jndi/src/org/netbeans/modules/jndi/gui/TimeOutPanel.form	Wed Oct 31 13:26:48 2001 +0000
    12.2 +++ b/jndi/src/org/netbeans/modules/jndi/gui/TimeOutPanel.form	Wed Oct 31 16:39:20 2001 +0000
    12.3 @@ -1,32 +1,30 @@
    12.4 -<?xml version="1.0" encoding="ISO-8859-1" ?>
    12.5 +<?xml version="1.0" encoding="UTF-8" ?>
    12.6  
    12.7  <Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
    12.8 +  <SyntheticProperties>
    12.9 +    <SyntheticProperty name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
   12.10 +  </SyntheticProperties>
   12.11  
   12.12    <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridLayout">
   12.13      <Property name="columns" type="int" value="1"/>
   12.14 +    <Property name="rows" type="int" value="1"/>
   12.15    </Layout>
   12.16    <SubComponents>
   12.17      <Component class="javax.swing.JLabel" name="jLabel1">
   12.18        <Properties>
   12.19 -        <Property name="text" type="java.lang.String" editor="org.netbeans.beaninfo.editors.StringEditor" value="jLabel1"/>
   12.20 +        <Property name="text" type="java.lang.String" value="jLabel1"/>
   12.21        </Properties>
   12.22 -      <Constraints>
   12.23 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridLayout$GridConstraintsDescription"/>
   12.24 -      </Constraints>
   12.25      </Component>
   12.26      <Component class="javax.swing.JTextArea" name="jTextArea1">
   12.27        <Properties>
   12.28 +        <Property name="editable" type="boolean" value="false"/>
   12.29          <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
   12.30            <Dimension value="[64, 32]"/>
   12.31          </Property>
   12.32          <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
   12.33            <Dimension value="[64, 32]"/>
   12.34          </Property>
   12.35 -        <Property name="editable" type="boolean" editor="sun.beans.editors.BoolEditor" value="false"/>
   12.36        </Properties>
   12.37 -      <Constraints>
   12.38 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridLayout$GridConstraintsDescription"/>
   12.39 -      </Constraints>
   12.40      </Component>
   12.41    </SubComponents>
   12.42  </Form>
    13.1 --- a/jndi/src/org/netbeans/modules/jndi/gui/TimeOutPanel.java	Wed Oct 31 13:26:48 2001 +0000
    13.2 +++ b/jndi/src/org/netbeans/modules/jndi/gui/TimeOutPanel.java	Wed Oct 31 16:39:20 2001 +0000
    13.3 @@ -31,22 +31,19 @@
    13.4       * WARNING: Do NOT modify this code. The content of this method is
    13.5       * always regenerated by the FormEditor.
    13.6       */
    13.7 -    private void initComponents () {//GEN-BEGIN:initComponents
    13.8 -        jLabel1 = new javax.swing.JLabel ();
    13.9 -        jTextArea1 = new javax.swing.JTextArea ();
   13.10 -        setLayout (new java.awt.GridLayout (2, 1));
   13.11 +    private void initComponents() {//GEN-BEGIN:initComponents
   13.12 +        jLabel1 = new javax.swing.JLabel();
   13.13 +        jTextArea1 = new javax.swing.JTextArea();
   13.14  
   13.15 -        jLabel1.setText ("jLabel1");
   13.16 +        setLayout(new java.awt.GridLayout(1, 1));
   13.17  
   13.18 +        jLabel1.setText("jLabel1");
   13.19 +        add(jLabel1);
   13.20  
   13.21 -        add (jLabel1);
   13.22 -
   13.23 -        jTextArea1.setPreferredSize (new java.awt.Dimension(64, 32));
   13.24 -        jTextArea1.setMinimumSize (new java.awt.Dimension(64, 32));
   13.25 -        jTextArea1.setEditable (false);
   13.26 -
   13.27 -
   13.28 -        add (jTextArea1);
   13.29 +        jTextArea1.setEditable(false);
   13.30 +        jTextArea1.setPreferredSize(new java.awt.Dimension(64, 32));
   13.31 +        jTextArea1.setMinimumSize(new java.awt.Dimension(64, 32));
   13.32 +        add(jTextArea1);
   13.33  
   13.34      }//GEN-END:initComponents
   13.35  
   13.36 @@ -57,6 +54,8 @@
   13.37          this.jTextArea1.setBackground(this.getBackground());
   13.38          this.jTextArea1.setLineWrap(true);
   13.39          this.jTextArea1.setWrapStyleWord(true);
   13.40 +        javax.accessibility.AccessibleContext ac = this.getAccessibleContext ();
   13.41 +        ac.setAccessibleName (message+note);
   13.42      }
   13.43  
   13.44      // Variables declaration - do not modify//GEN-BEGIN:variables