code: private static PropertyChangeListener createAncestorPropertyChangeListener(final JTable table) {
          return new PropertyChangeListener() {
              public void propertyChange(PropertyChangeEvent event) {
                  if (table.getParent() instanceof JViewport && table.getParent().getParent() instanceof JScrollPane) {
                      table.getParent().repaint();
                  }
              }
          };
      }
docs: DOCUMENT ME!
  
  @param  table DOCUMENT ME!
  
  @return DOCUMENT ME!