Creating a wrapped label in SWT

Main.java:

import org.eclipse.swt.widgets.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.*;
 
public class Main {
   public static void main(String[] args) {
      Display display = new Display();
      Shell shell = new Shell(display);
 
      // pos x, pos y, width, height
      shell.setBounds(200, 200, 300, 200);
      shell.setText("Label Demonstration");
      shell.setLayout(new GridLayout());
            
      Label label = new Label(shell, SWT.BORDER | SWT.WRAP);
      label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL));
      label.setText("`I quite agree with you,' said the Duchess; `and the moral " +
                    "of that is--Be what you would seem to be--or if you'd like " +
                    "it put more simply--Never imagine yourself not to be " +
                    "otherwise than what it might appear to others that what " +
                    "you were or might have been was not otherwise than what " +
                    "you had been would have appeared to them to be otherwise.'");
 
      shell.open();
 
      while (!shell.isDisposed()) {
         if (!display.readAndDispatch()) {
            display.sleep();
         }
      }
      display.dispose();
   }
}