aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java
diff options
context:
space:
mode:
authorDeepak Bhole <[email protected]>2010-12-06 15:34:01 -0500
committerDeepak Bhole <[email protected]>2010-12-06 15:34:01 -0500
commit6ca1a9a369b10703da9af8f8a1ced0f3b02ae5c2 (patch)
tree568f8e454db94fa8abc896b46ce8cac7a9f3b74d /netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java
parent0d66adf24179c33bbdccaacc10d4c8a5f5e2cd54 (diff)
Fixed indentation and spacing for all .java files.
Added a new .settings directory which contains Eclipse preferences for code style.
Diffstat (limited to 'netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java')
-rw-r--r--netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java b/netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java
index 0014f94..b05debe 100644
--- a/netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java
+++ b/netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java
@@ -111,7 +111,6 @@ public class PasswordAuthenticationDialog extends JDialog {
c.weightx = 1.0;
add(jtfUserName, c);
-
c = new GridBagConstraints();
c.gridx = 0;
c.gridy = 2;
@@ -142,11 +141,11 @@ public class PasswordAuthenticationDialog extends JDialog {
c.weightx = 0.0;
add(jbOK, c);
- setMinimumSize(new Dimension(400,150));
- setMaximumSize(new Dimension(1024,150));
+ setMinimumSize(new Dimension(400, 150));
+ setMaximumSize(new Dimension(1024, 150));
setAlwaysOnTop(true);
- setSize(400,150);
+ setSize(400, 150);
setLocationRelativeTo(null);
// OK => read supplied info and pass it on
@@ -202,7 +201,7 @@ public class PasswordAuthenticationDialog extends JDialog {
" is requesting authentication. It says \"" + prompt + "\"</html>");
try {
- SwingUtilities.invokeAndWait( new Runnable() {
+ SwingUtilities.invokeAndWait(new Runnable() {
public void run() {
// show dialog to user
setVisible(true);