if (c instanceof JComponent) {
JComponent comp = (JComponent)c;
GridCell cell = GridCell.get(comp);
stdProperties.add(new TableData("<html><b>Layout Info</b></html>", ""));
stdProperties.add(new TableData(" cell", "[row="+ cell.getRow()+",column="+cell.getColumn()+"]"));
stdProperties.add(new TableData(" widthPolicy", cell.sizePolicyToString(cell.getWidthPolicy())));
if (cell.getWidthPolicy() == Constants.SP_TO_PARTNER) {
JComponent comp1 = LayoutManagerHelper.getWidthPartner(comp);
for (int i = 1; comp1 != null && comp1 != comp; i++) {
stdProperties.add(new TableData(" ["+i+"]", " " + comp1.toString()));
comp1 = LayoutManagerHelper.getWidthPartner(comp1);