[Solved] How do I dynamically resize a text component in Java Netbeans, when the text has filled the component, instead of it having scroll bars?

[ad_1] How do I dynamically resize a text component in Java Netbeans, when the text has filled the component, instead of it having scroll bars? [ad_2] solved How do I dynamically resize a text component in Java Netbeans, when the text has filled the component, instead of it having scroll bars?