This commit is contained in:
Ziver Koc 2015-10-15 19:28:26 +00:00
parent 84f0d5f354
commit 9764f546da
2 changed files with 14 additions and 1 deletions

13
CoderClient.iml Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="Zutil" />
<orderEntry type="module" module-name="CoderServer" />
</component>
</module>

View file

@ -139,7 +139,7 @@ public class LoginDialog extends JDialog {
pack(); pack();
//move focus to the password field if already a username has been defined. must be done after pack() //move focus to the password field if already a username has been defined. must be done after pack()
if(username.isEmpty() == false){ if(username != null && username.isEmpty() == false){
passwordPasswordField.requestFocusInWindow(); passwordPasswordField.requestFocusInWindow();
} }