Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 77167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:47:16+00:00 2026-05-10T20:47:16+00:00

Info – for better formatting, I used code-formatting throughout the whole posting. Hi, I

  • 0

Info – for better formatting, I used code-formatting throughout the whole posting.

Hi,  I have a highlighted JXTable. Rows are highlighted, depending on the value  of a specific column (c2). Everytime the value of column c2 changes, the color  is switched from white to grey or from grey to white.  Example         c0  c1    c2   c3     1 | aaa | ab | dd     2 | aaa | ab | ee     3 | aaa | cd | ff     4 | aaa | cd | gg     5 | bbb | ef | dd  Colors are like this: 1,2 -> white 3,4 -> grey 5   -> white  If I now filter for 'dd', my table looks like this      c0  c1    c2   c3     1 | aaa | ab | dd     5 | bbb | ef | dd  And the colors are like this: 1 -> white 5 -> white  But I want the table to change the color of row 5, because the previous  value in c2 was different. See my Problem? How can I apply the highlighter again, on my JXTAble,  after filtering? Or in other words, how can I highlight only the filtered  values? 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T20:47:17+00:00Added an answer on May 10, 2026 at 8:47 pm

    Could you just add a second highlighter ?

    jxTable.getHighlighters().addHighlighter() 

    One which would only apply itself when the JXtable is effectively filtered.

    If that is not possible, because once a row has been highlighted, the other highlighters may not be called, you could define a controller which:

    a) has a propertyChangeListner to the table, listening for filtered state

    b) has the special Predicate with the set of rows and the highlighter

    c) on propertyChange check the row, toggle the highlighter’s predicate between NEVER and your custom as appropriate. The highlighter’s property change will trigger the repaint

    Forcing a repaint is basically what does the HighlighterClientVisualCheck sample in the test.org.jdesktop.swingx.renderer package.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 64k
  • Answers 64k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Why would except return a distinct list? Is this a… May 11, 2026 at 10:51 am
  • added an answer See this question. That question was relevant to Repeaters but… May 11, 2026 at 10:51 am
  • added an answer Your problem is that you need another where clause in… May 11, 2026 at 10:51 am

Related Questions

Info - for better formatting, I used code-formatting throughout the whole posting. Hi, I
I need some info on how to use margins and how exactly padding works.
any bit of info will be helpful here. or does anybody else huge do
It seems like Info.plist file has an ability to declare different roles for the
Some background info; LanguageResource is the base class LanguageTranslatorResource and LanguageEditorResource inherit from LanguageResource
self.logger.info(msg) popinstance=poplib.POP3(self.account[0]) self.logger.info(popinstance.getwelcome()) popinstance.user(self.account[1]) popinstance.pass_(self.account[2]) try: (numMsgs, totalSize)=popinstance.stat() self.logger.info(POP contains + str(numMsgs) + emails)
In through php_info() where the WSDL cache is held ( /tmp ), but I
I have found some info on the subject ( like this link) , but
Could someone give some info regarding the different character sets within visual studio's project
What does Generate Debug Info mean in VB/C#? The difference between none and pdb-only

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.