Forums Register Login

JTextArea

+Pie Number of slices to send: Send
Is there a way I make my text appear in JTextArea(in JScrollPanel)
without scrolling it up or down.( I use instanceJTextArea.append() and every time I append something it is out of the view)
+Pie Number of slices to send: Send
[Probably should move this to Swing forum.]
Do you mean without manually scrolling?
Programmatically, you can do

or

and I'm sure there are other ways.
Bill
+Pie Number of slices to send: Send
Thank you very much.
+Pie Number of slices to send: Send
OK - OK - I'll move it to Swing .
Drove my Chevy to the levee but the levee was dry. A wrung this tiny ad and it was still dry.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 700 times.
Similar Threads
JDialog Dilemma I Have
how to get the info from a jtextarea
how to get the info from a jtextarea
JTextField and Focus
JTextArea
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:34:07.