// Sheet 1 doesn't (yet)
assertNull(sh1.getCommentsTable(false));
// Try to add comments to Sheet 1
CreationHelper factory = wb.getCreationHelper();
Drawing drawing = sh1.createDrawingPatriarch();
ClientAnchor anchor = factory.createClientAnchor();
anchor.setCol1(0);
anchor.setCol2(4);
anchor.setRow1(0);
anchor.setRow2(1);
Comment comment1 = drawing.createCellComment(anchor);
comment1.setString(
factory.createRichTextString("I like this cell. It's my favourite."));
comment1.setAuthor("Bob T. Fish");
anchor = factory.createClientAnchor();
anchor.setCol1(0);
anchor.setCol2(4);
anchor.setRow1(1);
anchor.setRow2(1);
Comment comment2 = drawing.createCellComment(anchor);
comment2.setString(
factory.createRichTextString("This is much less fun..."));
comment2.setAuthor("Bob T. Fish");
Cell c1 = sh1.getRow(0).createCell(4);