Results 1 to 2 of 2
  1. #1
    orbit_balot is offline Member
    Join Date
    Jun 2013
    Posts
    1
    Rep Power
    0

    Default I want to color text inside multiple JTextFields located inside JTable

    Hi, I have a JTable and all the Cells inside this table have JTextFiled. In addition, I have a method which have some logic and the output of this method will decide to color some cells inside this table. My problem is that I don't know how to color cells inside JTable. A sample of what I want to implement is mentioned in the attachment

    I am good at Java but I don't have strong experience in the swing especially JTable.
    Can you show me a small code to resolve my issue.

    Note: I am using java 1.4 --> yes 1.4 (My client is having a Java desktop application made with Java 1.4 and the client is not looking for update right now)
    Attached Thumbnails Attached Thumbnails I want to color text inside multiple JTextFields located inside JTable-logic.png  

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,452
    Rep Power
    20

    Default Re: I want to color text inside multiple JTextFields located inside JTable

    I've already answered that. Moreover, you haven't bothered to comply with moderator advice on the other forum. Are you trolling?
    I want to color text inside multiple JTextFields located inside JTable (Swing / AWT / SWT forum at JavaRanch)

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Create multiple buttons inside jscrollbar
    By tyrantblizz in forum AWT / Swing
    Replies: 1
    Last Post: 03-28-2012, 04:31 AM
  2. Replies: 4
    Last Post: 08-16-2011, 12:23 AM
  3. Replies: 9
    Last Post: 04-12-2011, 08:26 PM
  4. Problem with JTable inside JInternalFrame
    By JerryAgin in forum AWT / Swing
    Replies: 2
    Last Post: 01-21-2011, 06:44 PM
  5. I can't read a text file located inside my jar.
    By Serrano0811 in forum New To Java
    Replies: 1
    Last Post: 04-21-2010, 06:03 PM

Posting Permissions

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