(MouseEvent e)
| 97 | |
| 98 | addMouseListener(new MouseAdapter() { |
| 99 | @Override |
| 100 | synchronized public void mouseClicked(MouseEvent e) { |
| 101 | try { |
| 102 | int row = ((ErrorTable) e.getSource()).getSelectedRow(); |
| 103 | if (row >= 0 && row < getRowCount()) { |
| 104 | Object data = getModel().getValueAt(row, DATA_COLUMN); |
| 105 | int clickCount = e.getClickCount(); |
| 106 | if (clickCount == 1) { |
| 107 | editor.errorTableClick(data); |
| 108 | } else if (clickCount > 1) { |
| 109 | editor.errorTableDoubleClick(data); |
| 110 | } |
| 111 | editor.getTextArea().requestFocusInWindow(); |
| 112 | // editor.getErrorChecker().scrollToErrorLine(row); |
| 113 | } |
| 114 | } catch (Exception ex) { |
| 115 | ex.printStackTrace(); |
| 116 | } |
| 117 | } |
| 118 | }); |
| 119 | |
| 120 | header.setReorderingAllowed(false); |
nothing calls this directly
no test coverage detected