This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Label sampletext1=new Label(composite,SWT.NONE);
sampletext1.setText("Provide The names");
names= new Text(composite, SWT.MULTI | SWT.BORDER | SWT.WRAP | SWT.V_SCROLL );
and it is working fine.
However I wanted to know if I could add a multi user input using a + button. Say a user inputs a name , then if he has one more name to add , he clicks on the + button and another text area opens for him below.
I searched online for this and I found out a suggestion
to add a selection listener on the button that invokes a method that creates a new Composite inside the parent Composite and pack the outermost container (Shell) after the new container is added.