Bugfix
This commit is contained in:
parent
84f0d5f354
commit
9764f546da
2 changed files with 14 additions and 1 deletions
13
CoderClient.iml
Normal file
13
CoderClient.iml
Normal 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>
|
||||
|
|
@ -139,7 +139,7 @@ public class LoginDialog extends JDialog {
|
|||
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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue