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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
Setting font in JTextpane
Kejal Shah
Ranch Hand
Posts: 87
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all, I wish to set different fonts for different strings in my JTextPane. But setting the font for the textpane ain't working.
Is there some definite approach to it?
Tx in advance
Kejal
Kejal<br />
SaneDevil@gmail.com
VIJAY Yadlapati
Ranch Hand
Posts: 175
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Did you tried with SimpleAttributeSet? If so, please post the Code.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Scaling
Problem in Font
Changin font in a JTextArea
JTable Cell Renderers
font family of empty DefaultStyledDocument
More...