comparison ConnectionManager/src/connectionmanager/CredentialsDialog.java @ 6:670905eb688a

Fix code indentation.
author Daniele Nicolodi <daniele@science.unitn.it>
date Wed, 02 Jun 2010 18:02:25 +0200
parents 35f1cfcaa5a9
children
comparison
equal deleted inserted replaced
5:35f1cfcaa5a9 6:670905eb688a
134 pack(); 134 pack();
135 }// </editor-fold>//GEN-END:initComponents 135 }// </editor-fold>//GEN-END:initComponents
136 136
137 private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okButtonActionPerformed 137 private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okButtonActionPerformed
138 cancelled = false; 138 cancelled = false;
139 username = (String)usernameField.getSelectedItem(); 139 username = (String) usernameField.getSelectedItem();
140 password = new String(passwordField.getPassword()); 140 password = new String(passwordField.getPassword());
141 cache = cacheCheckBox.isSelected(); 141 cache = cacheCheckBox.isSelected();
142 doClose(); 142 doClose();
143 }//GEN-LAST:event_okButtonActionPerformed 143 }//GEN-LAST:event_okButtonActionPerformed
144 144
151 cancelled = true; 151 cancelled = true;
152 doClose(); 152 doClose();
153 }//GEN-LAST:event_closeDialog 153 }//GEN-LAST:event_closeDialog
154 154
155 private void usernameFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_usernameFieldActionPerformed 155 private void usernameFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_usernameFieldActionPerformed
156
157 }//GEN-LAST:event_usernameFieldActionPerformed 156 }//GEN-LAST:event_usernameFieldActionPerformed
158 157
159 private void doClose() { 158 private void doClose() {
160 setVisible(false); 159 setVisible(false);
161 dispose(); 160 dispose();