This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 180698
Collapse All | Expand All

(-)src/org/netbeans/modules/derby/ui/CreateDatabasePanel.form (-1 / +1 lines)
Lines 124-130 Link Here
124
        </Property>
124
        </Property>
125
      </Properties>
125
      </Properties>
126
    </Component>
126
    </Component>
127
    <Component class="javax.swing.JTextField" name="passwordTextField">
127
    <Component class="javax.swing.JPasswordField" name="passwordTextField">
128
      <Properties>
128
      <Properties>
129
        <Property name="columns" type="int" value="15"/>
129
        <Property name="columns" type="int" value="15"/>
130
      </Properties>
130
      </Properties>
(-)src/org/netbeans/modules/derby/ui/CreateDatabasePanel.java (-3 / +3 lines)
Lines 95-101 Link Here
95
    }
95
    }
96
    
96
    
97
    public String getPassword() {
97
    public String getPassword() {
98
        String password = passwordTextField.getText().trim();
98
        String password = new String(passwordTextField.getPassword()).trim();
99
        return password.length() > 0 ? password : null;
99
        return password.length() > 0 ? password : null;
100
    }
100
    }
101
101
Lines 174-180 Link Here
174
        userLabel = new javax.swing.JLabel();
174
        userLabel = new javax.swing.JLabel();
175
        userTextField = new javax.swing.JTextField();
175
        userTextField = new javax.swing.JTextField();
176
        passwordLabel = new javax.swing.JLabel();
176
        passwordLabel = new javax.swing.JLabel();
177
        passwordTextField = new javax.swing.JTextField();
177
        passwordTextField = new javax.swing.JPasswordField();
178
        propertiesButton = new javax.swing.JButton();
178
        propertiesButton = new javax.swing.JButton();
179
        databaseLocationValueLabel = new javax.swing.JLabel();
179
        databaseLocationValueLabel = new javax.swing.JLabel();
180
180
Lines 272-278 Link Here
272
    public javax.swing.JLabel databaseNameLabel;
272
    public javax.swing.JLabel databaseNameLabel;
273
    public javax.swing.JTextField databaseNameTextField;
273
    public javax.swing.JTextField databaseNameTextField;
274
    public javax.swing.JLabel passwordLabel;
274
    public javax.swing.JLabel passwordLabel;
275
    public javax.swing.JTextField passwordTextField;
275
    public javax.swing.JPasswordField passwordTextField;
276
    public javax.swing.JButton propertiesButton;
276
    public javax.swing.JButton propertiesButton;
277
    public javax.swing.JLabel userLabel;
277
    public javax.swing.JLabel userLabel;
278
    public javax.swing.JTextField userTextField;
278
    public javax.swing.JTextField userTextField;

Return to bug 180698