File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Adjusting textarea size to window
Joined: Dec 02, 2004
Mar 24, 2005 12:28:00
How do you make a text area that automatically adjusts to it's panels size? Output is my text area and center is my panel.
I tried output.setBounds(center.getBounds()); and output.setBorder(center.getBorder()) but neither worked for me.
I agree. Here's the link:
subject: Adjusting textarea size to window
Giving color and font in JSP
color in selected text in text area
Remove Scrollbar in Text Area
How to set the fontcolor and size for the selected text of text area ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013