JTextArea in BorderLayout

A

asit

In my swing GUI, I use a JTextArea in BorderLayout. How can I put the
JTextArea so that it also fits in when the window is maximized ???
 
Q

Qu0ll

asit said:
In my swing GUI, I use a JTextArea in BorderLayout. How can I put the
JTextArea so that it also fits in when the window is maximized ???

If the BorderLayout is used for the surrounding frame and the JTextArea is
placed in the BorderLayout.CENTER section then it should resize to fill the
frame when the frame is maximised depending of course on what you have in
the NORTH, SOUTH, EAST and WEST sections as well.

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
(e-mail address removed)
[Replace the "SixFour" with numbers to email me]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top