Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2007
    Rep Power

    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.

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

    pls send me the reply..
    Thanks in advance

  2. #2
    Arom_ART is offline Member
    Join Date
    Dec 2007
    Rep Power


    For setting color to that Font ,You can use <html><font color="#ffffff">"Something"</font></html>

Similar Threads

  1. Replies: 5
    Last Post: 04-25-2009, 08:00 PM
  2. how to set font size for a xml value
    By bala_kj in forum Advanced Java
    Replies: 3
    Last Post: 04-01-2008, 11:00 AM
  3. Swing - Changing component default font
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-11-2008, 10:52 PM
  4. Help with save font information in jtextarea
    By valery in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 08:22 PM
  5. Font question
    By orchid in forum Java 2D
    Replies: 1
    Last Post: 08-01-2007, 02:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts