boolean (@NotNull MouseEvent event) { int row = myTable.rowAtPoint(event.getPoint()); int column = 1; if (row >= 0 && row < myTable.getRowCount() && column < myTable.getColumnCount()) { Component renderer = myTable.getCellRenderer(row, column) .getTableCellRendererComponent(myTable, myModel.getValueAt(row, column), false, false, row, column); if (renderer instanceof JLabel) { StringBuilder sb = new StringBuilder(); if (component != null) sb.append(UiInspectorUtil.getComponentName(component)).append(" "); String value = StringUtil.trimStart(((JLabel)renderer).getText().replace("\r", "").replace("\tat", "\n\tat"), "at "); sb.append("'").append(myModel.getValueAt(row, 0)).append("':"); sb.append(value.contains("\n") || value.length() > 100 ? "\n" : " "); sb.append(value); //noinspection UseOfSystemOutOrSystemErr System.out.println(sb); return true; } } return false; }