Top "Jtextarea" questions

A JTextArea is a multi-line area that displays plain text.

Making a JScrollPane automatically scroll all the way down

I am trying to implement a JScrollPane with a JTextArea. The JTextArea is being appended to, and I want the …

java swing awt jscrollpane jtextarea
how to visualize console java in JFrame/JPanel

I made a Java program using Swing libraries. Now I would like to redirect my console outputs into a JFrame …

java swing console jtextarea jtextcomponent
Positioning components in Swing GUIs

I have some questions on positioning components and some questions on text fields and text areas (Java Swing). Any help …

java swing jtextfield layout-manager jtextarea
JTable selection listener

I have a code which displays Table in applets & consists of two columns:- image icon description Here's my …

java swing jtable jtextarea
How to set output stream to TextArea

I'm trying to create a GUI Panel for a program and I'd like everything, that would normally print to my …

java swing user-interface jframe jtextarea
Dynamically Resize a JScrollPane?

I Have two files. One extends JFrame, and another Extends JPanel. Whenever I change the size of the frame, whether …

java dynamic resize jscrollpane jtextarea
How to display bold text in only parts of JTextArea?

Can I alter the text of a JTextArea to bold (append text) and then back to normal and will it …

java swing jtextarea
Java - JPanel with margins and JTextArea inside

I want to create something like this: Main panel has its margins (x), and TextArea in the center of that …

java swing jtextarea margins insets
How to set JTextArea size?

I want to set a fixed size for JtextArea within JOptionPane public static void main(String[] args) { JTextArea headersTxt = new …

java swing jtextarea joptionpane
How can I create a JTextArea with a specified width and the smallest possible height required to display all the text?

In all the examples that I can find that use a JTextArea, the height & width is known before constructing …

java swing jtextarea jtextcomponent