Results 1 to 20 of 40
Thread: change Text Colore
- 07-09-2008, 12:06 PM #1
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
- 07-09-2008, 12:26 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
What you mean foreground color of text? Text color?
- 07-09-2008, 12:29 PM #3
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
- 07-09-2008, 12:32 PM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Where you going to place that text, on a label? text area.....
- 07-09-2008, 12:34 PM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Basically you can use setForeground() on a label.
- 07-09-2008, 12:37 PM #6
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
- 07-09-2008, 01:41 PM #7
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
- 07-09-2008, 05:23 PM #8
Hello Mir,
Check this link may help yoy to some extent.
Java Tips - How to add colored text to the documentTo finish sooner, take your own time....
Nivedithaaaa
- 07-10-2008, 06:50 AM #9
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
- 07-10-2008, 07:04 AM #10
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
- 07-10-2008, 07:12 AM #11
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
With which code. Please try to explain your questions with more details all the time. How can I know that about which code you are talking.
- 07-10-2008, 07:24 AM #12
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
Sir i want to change the text colore.I got example from Niveditha
.And i want to add this code on my exiting code.But i got problem to add this.Java Code:Java Tips - How to add colored text to the document
My code extend Thread,so i have a problem.Can i send you code(my code).
- 07-10-2008, 07:39 AM #13
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
- 07-10-2008, 07:53 AM #14
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
There is no connection with thread and this font color changing. So, only thing you have to do is find the best place(within the thread or not) to make this color change.
- 07-10-2008, 08:00 AM #15
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
- 07-10-2008, 09:11 AM #16
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
- 07-10-2008, 09:13 AM #17
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
To help you should explain your question well. Just talking about a code again and again, but not well explanation you put here.
- 07-10-2008, 09:28 AM #18
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
- 07-10-2008, 12:13 PM #19
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
- 07-11-2008, 06:12 AM #20
Senior Member
- Join Date
- Mar 2008
- Posts
- 447
- Rep Power
- 6
Similar Threads
-
How to change JDK?
By mew in forum EclipseReplies: 5Last Post: 05-21-2010, 05:21 AM -
How to use TextAttribute class to change color and font of a text
By Java Tip in forum java.awtReplies: 0Last Post: 06-25-2008, 10:33 AM -
Unsupported Content-Type: text/html Supported ones are: [text/xml]
By luislopezco in forum Advanced JavaReplies: 0Last Post: 05-26-2008, 04:26 PM -
How ro change the locale of JVM
By ravi.ks007@hotmail.com in forum Advanced JavaReplies: 2Last Post: 12-26-2007, 06:17 AM -
Is it possible to change the '\n' into ' ' ...
By johnny7white in forum New To JavaReplies: 1Last Post: 11-15-2007, 02:32 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks