File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Joined: Sep 05, 2002
Sep 06, 2002 16:05:00
How do I set the styles( color, fonts ) of char in selection?
I use setFont() ,but it works on the entire not the selection.
thanks for your help...
Zhao Fu Qiang
Joined: May 29, 2002
Sep 07, 2002 07:21:00
Pls look package javax.swing.text
Extreme Component, Inc.
Joined: Oct 18, 2000
Sep 09, 2002 06:19:00
Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy
You can change it
And here's a link to Sun's
Thanks! and welcome to the JavaRanch!
[ September 09, 2002: Message edited by: Nathan Pruett ]
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: TextPane Problem....
multi-selection list box
What type of firewall will you use to the validate the application protocol of a netw
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015