| | |
layout textarea
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Aug 2007
Posts: 14
Reputation:
Solved Threads: 0
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..
P.S:content is the container
i can put the bottom textarea there but it is way to small
Thanks.
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..
Java Syntax (Toggle Plain Text)
content.add(menubar,BorderLayout.NORTH); content.add(new JScrollPane(TArea1)); content.add(new JScrollPane(TArea2),BorderLayout.SOUTH);
i can put the bottom textarea there but it is way to small
Thanks.
Last edited by w32.sysfile; Aug 23rd, 2007 at 8:06 am.
The GridBagLayout would accomplish this very easily.
http://java.sun.com/docs/books/tutor...t/gridbag.html
http://java.sun.com/docs/books/tutor...t/gridbag.html
•
•
Join Date: Aug 2007
Posts: 14
Reputation:
Solved Threads: 0
•
•
•
•
The GridBagLayout would accomplish this very easily.
http://java.sun.com/docs/books/tutor...t/gridbag.html
![]() |
Similar Threads
- Layout Tables to CSS (HTML and CSS)
- Layout in CSS (HTML and CSS)
- The New Layout (Website Reviews)
- Redesigned Forum layout (DaniWeb Community Feedback)
Other Threads in the Java Forum
- Previous Thread: Looking for another project
- Next Thread: Changing the icons of JButtons
| Thread Tools | Search this Thread |
Tag cloud for Java
addressbook android api apple applet application arguments array arrays automation binary bluetooth button calculator chat class classes client code columns component converter database draw eclipse error errors event exception file fractal ftp game givemetehcodez graphics gridlayout gui helpwithhomework html ide image inetaddress input integer j2me japplet java javaprojects jme jmf jni jpanel julia link linux list loop map method methods midlethttpconnection mobile netbeans newbie number objects openjavafx oracle php print problem program programming project projects recursion rim scanner screen server set signing size smart sms socket sort sql storm string support swing test threads time tree unlimited variablebinding webservices windows






