Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Ron McLeod
paul wheaton
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Himai Minh
Bartenders:
Forum:
Swing / AWT / SWT
Jtextarea
abalfazl hossein
Ranch Hand
Posts: 635
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How is it possible to create color, size for three line in a Jtextarea so every line has its own color and font?Is it possible that put text in text areaso it has distance to right side?
Rob Spoor
Sheriff
Posts: 22850
132
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You want a JTextPane, not a JTextArea. With the JTextPane's StyledDocument you can do more than with JTextArea's Document.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to display more than one text colors in JTextArea?
Formatting text in JTextArea
Multi-color JTextAreas
JTextArea - more than one color
How to set color of text in Text Area
More...