The ff. does not work. “Second line” is rendered on the same line as “First line”. What’s more is that there is no space between the two.
new BooleanFieldEditor("Name", "First line\nSecond line", getFieldEditorParent());
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The BooleanFieldEditor uses an SWT Label. You can’t specify multiple lines for this type of widget.
I would suggest that you will need to create a custom implementation by subclassing FieldEditor.
Two things to help with this: