String () { int displayRow = myRow + getContainer().getGridLayoutManager().getCellIndexBase(); int displayColumn = myColumn + getContainer().getGridLayoutManager().getCellIndexBase(); String displayName = getContainer().getDisplayName(); return switch (myMode) { case ColumnBefore -> UIDesignerBundle.message("insert.feedback.before.col", displayName, displayRow, displayColumn); case ColumnAfter -> UIDesignerBundle.message("insert.feedback.after.col", displayName, displayRow, displayColumn); case RowBefore -> UIDesignerBundle.message("insert.feedback.before.row", displayName, displayColumn, displayRow); case RowAfter -> UIDesignerBundle.message("insert.feedback.after.row", displayName, displayColumn, displayRow); }; }