Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-10-2007, 02:34 PM
Member
 
Join Date: Dec 2007
Posts: 4
Rep Power: 0
Rama Koti Reddy is on a distinguished road
Question JTable with Font
HI ,

I have a JTable with data. and i would like to apply Color to JTable data for a particular row depending on condition.
eg;'

String data = table.getValueAt(row,column).toString();
if(data.eqauls("something"))
Then i would like to apply color to that row data..


pls send me the reply..
Thanks in advance
ramu
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 12-12-2007, 06:22 PM
Member
 
Join Date: Dec 2007
Posts: 2
Rep Power: 0
Arom_ART is on a distinguished road
Default
For setting color to that Font ,You can use <html><font color="#ffffff">"Something"</font></html>
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change font/ font color etc in a graphic object using JCombobox? JavaInLove AWT / Swing 5 04-25-2009 09:00 PM
how to set font size for a xml value bala_kj Advanced Java 3 04-01-2008 12:00 PM
Swing - Changing component default font Java Tip Java Tips 0 03-11-2008 11:52 PM
Help with save font information in jtextarea valery New To Java 1 08-06-2007 09:22 PM
Font question orchid Java 2D 1 08-01-2007 03:03 AM


All times are GMT +2. The time now is 06:18 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org