ok ... I dont have my Java book here at work.... and I cant figure out why when I add a JTextArea and i write on it... is not multiline... how can I make it multiline???????

Also.... I have a little problem with GridLayouts...

Code:
                 	JPanel pane=new JPanel();
   	   	pane.setLayout(new GridLayout(2,2));
   	   	   	   	
   	   	pane.add(txt1);
   	   	pane.add(txt1);
   	   	pane.add(btn);
   	   	
   	   	setContentPane(pane);

I have 2 textareas and I button... i want the first TextArea to take the 2 rows in the first line... and the second textarea and the button each one on a cell the line of the button....

I know you have to add a parameter when you add the component.... right? how??

THANKS!!