Remove 32 bits SWT.
[lgpl/argeo-commons.git] / org.argeo.cms.ui.workbench / src / org / argeo / cms / ui / workbench / internal / jcr / parts / ChooseNameDialog.java
index 8d786e8226dcd0afd7efec1692b8bb29a198d5ed..080ea9485f9cd60bf7d73b2f1e6870f226f1e847 100644 (file)
@@ -27,7 +27,7 @@ import org.eclipse.swt.widgets.Label;
 import org.eclipse.swt.widgets.Shell;
 import org.eclipse.swt.widgets.Text;
 
-/** Dialog to change the current user password */
+/** Ask end user for a name */
 public class ChooseNameDialog extends TitleAreaDialog {
        private static final long serialVersionUID = 280139710002698692L;
        private Text nameTxt;
@@ -48,9 +48,9 @@ public class ChooseNameDialog extends TitleAreaDialog {
                composite.setLayout(new GridLayout(2, false));
                composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
                nameTxt = createLT(composite, "Name");
-
                setMessage("Choose name", IMessageProvider.INFORMATION);
                parent.pack();
+               nameTxt.setFocus();
                return composite;
        }