JXTableHeader extends JTableHeader implements TableColumnModelExtListener { @Override public void setResizingColumn(TableColumn aColumn) { if (getResizingColumn() == aColumn) return; TableColumn old = getResizingColumn(); super.setResizingColumn(aColumn); firePropertyChange("resizingColumn", old, getResizingColumn()); } JXTableHeader();  JXTableHeader(TableColumnModel columnModel); @Override void setTable(JTable table); @Override void columnPropertyChange(PropertyChangeEvent event); @Override Point getPopupLocation(MouseEvent event); Point getPopupTriggerLocation(); @Override String getToolTipText(MouseEvent event); TableColumnExt getColumnExt(Point point); JXTable getXTable(); boolean getResortsOnDoubleClick(); void setResortsOnDoubleClick(boolean resortsOnDoubleClick); TableCellRenderer getCellRenderer(int columnIndex); @Override Dimension getPreferredSize(); @Override void setDraggedColumn(TableColumn column); @Override void setResizingColumn(TableColumn aColumn); @Override void setDraggedDistance(int distance); @Override TableColumn getDraggedColumn();  }
@Test public void testNotifyResizingColumn() { assertNull(header.getResizingColumn()); PropertyChangeReport report = new PropertyChangeReport(header); TableColumn tableColumn = header.getColumnModel().getColumn(0); header.setResizingColumn(tableColumn); TestUtils.assertPropertyChangeEvent(report, "resizingColumn", null, tableColumn); }