.getResourceAsStream(
"/org/eclipse/nebula/widgets/nattable/examples/resources/selected_column_header_bg.png"));
TextPainter txtPainter = new TextPainter(false, false);
ICellPainter bgImagePainter = new BackgroundImagePainter(
txtPainter, bgImage, GUIHelper.getColor(192, 192, 192));
configRegistry.registerConfigAttribute(
CellConfigAttributes.CELL_PAINTER, bgImagePainter,
DisplayMode.NORMAL, GridRegion.COLUMN_HEADER);
configRegistry.registerConfigAttribute(
CellConfigAttributes.CELL_PAINTER, bgImagePainter,
DisplayMode.NORMAL, GridRegion.CORNER);
ICellPainter selectedHeaderPainter = new BackgroundImagePainter(
txtPainter, selectedBgImage, GUIHelper.getColor(192, 192,
192));
configRegistry.registerConfigAttribute(
CellConfigAttributes.CELL_PAINTER, selectedHeaderPainter,