@aterehoff: "I need to change a jdbTable row color to let's say gray if the column
"STATUS" value of the DataSet it is linked to is "1", which is equal to
"STATUS_OUT_OF_PRINT".
The column property "visible" is set to false and it is not displayed in the
jdbTable.
Any help is appriciated"
    @NkOdSePaAnM: "Here's some code that I use to do what you're asking for.
In the member variable declarations:
  private ColumnPaintListener columnPaintListener = new ColumnPaintAdapter()
{
    public void painting(DataSet dataSet, Column column, int row, Variant
value, CustomPaintSite paintSite) {
      if (paintSite instanceof TableFastStringRenderer) {
        Variant shipped = new Variant();
        dataSet.getDisplayVariant("shipped", row, shipped);
        paintSite.setBackground(shipped.getAsBoolean() ? Color.white :
Color.yellow);
      }
    }
  };
In some common initialization code (outside of jbInit()):
    try {
      for (int index = 0; index < ordersDataSet.getColumnCount(); index++) {
ordersDataSet.getColumn(index).addColumnPaintListener(columnPaintListener);
      }
    }
    catch (TooManyListenersException ex) {
      // Ignore exception.
    }
In some common shutdown code:
    for (int index = 0; index < ordersDataSet.getColumnCount(); index++) {
ordersDataSet.getColumn(index).removeColumnPaintListener(columnPaintListener
);
    }
Check out our latest white papers at
<url>
BladeNET Scores With Borland Enterprise Tools
Team Development with JBuilder and Borland Enterprise Server
Dolphin Data Development Ltd.
<url>
news:40d1bc5b$<email_address>
<quote>
the"
    @aterehoff: "Kevin,
Thank you very much for your help. That was exactly what I needed.
Alex
news:40d2fc85$<email_address>
<quote>
ColumnPaintAdapter()
{
ordersDataSet.getColumn(index).addColumnPaintListener(columnPaintListener);
ordersDataSet.getColumn(index).removeColumnPaintListener(columnPaintListener"
{'source': 'USENET', 'other_information': '{"reply_count": 2, "forum_name": "borland.public.jbuilder.dbswing.20140428.mbox"}', 'file': 'data/output/usenet-borland.public.parquet'}