Rectangle cellRect = getCellRect(rowIndex, columnIndex, true);
DataModelCell cell = (DataModelCell) getValueAt(rowIndex, columnIndex);
TableColumn column = getColumnModel().getColumn(columnIndex);
int preferredWidth = column.getWidth();
LargeValuePreviewPopup viewer = new LargeValuePreviewPopup(this, cell, preferredWidth);
initLargeValuePopup(viewer);
Point location = cellRect.getLocation();
location.setLocation(location.getX() + 4, location.getY() + 20);
valuePopup = viewer.show(this, location);
}
}
}
}