diff options
author | Tom Kazimiers <tom@voodoo-arts.net> | 2014-01-16 23:51:02 -0500 |
---|---|---|
committer | Ingo Bauersachs <ingo@jitsi.org> | 2016-05-17 22:25:12 +0200 |
commit | 3ef9d87337f1cf35cee249b1d97cddc3569789b7 (patch) | |
tree | f38f8168a831a0c04b714f42791846c37e9ec601 | |
parent | 630b2902b2d4f5cbeed40299e58d37c92f8a4fb7 (diff) | |
download | jitsi-3ef9d87337f1cf35cee249b1d97cddc3569789b7.zip jitsi-3ef9d87337f1cf35cee249b1d97cddc3569789b7.tar.gz jitsi-3ef9d87337f1cf35cee249b1d97cddc3569789b7.tar.bz2 |
Add contact dialog: move group field to bottom
The group field is the least import control in this dialog. It should
therefore be last.
Thanks to David Bolton for suggesting this change.
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/contactlist/AddContactDialog.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/contactlist/AddContactDialog.java b/src/net/java/sip/communicator/impl/gui/main/contactlist/AddContactDialog.java index f92fbbe..4860f9d 100644 --- a/src/net/java/sip/communicator/impl/gui/main/contactlist/AddContactDialog.java +++ b/src/net/java/sip/communicator/impl/gui/main/contactlist/AddContactDialog.java @@ -176,10 +176,6 @@ public class AddContactDialog this.accountCombo = new JComboBox(); - this.groupLabel = new JLabel( - GuiActivator.getResources().getI18NString( - "service.gui.SELECT_GROUP") + ": "); - this.contactAddressLabel = new JLabel( GuiActivator.getResources().getI18NString( "service.gui.CONTACT_NAME") + ": "); @@ -192,6 +188,10 @@ public class AddContactDialog this.displayNameField = new JTextField(); + this.groupLabel = new JLabel( + GuiActivator.getResources().getI18NString( + "service.gui.SELECT_GROUP") + ": "); + this.addButton = new JButton( GuiActivator.getResources().getI18NString("service.gui.ADD")); @@ -228,15 +228,15 @@ public class AddContactDialog fieldsPanel.add(accountCombo); } - labelsPanel.add(groupLabel); - fieldsPanel.add(groupCombo); - labelsPanel.add(contactAddressLabel); fieldsPanel.add(contactAddressField); labelsPanel.add(displayNameLabel); fieldsPanel.add(displayNameField); + labelsPanel.add(groupLabel); + fieldsPanel.add(groupCombo); + contactAddressField.getDocument().addDocumentListener( new DocumentListener() { |