ok,
i wanna ask about layouting 2 textareas..

i have 2 text areas, the problem is i want to put 1 in the top 1 and the second 1 in the bottom, but i want to set the height of the top textarea become 2/3 of the window while the bottom textarea height is 1/3 of the window..

can any1 help me??

i am making something like MSN Messenger Layout..

content.add(menubar,BorderLayout.NORTH);
	content.add(new JScrollPane(TArea1));	
	content.add(new JScrollPane(TArea2),BorderLayout.SOUTH);

P.S:content is the container

i can put the bottom textarea there but it is way to small

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.