public void mouseClicked(MouseEvent e) { if (e.getClickCount() >= 2) { int row = this.tabelaDeErros.getSelectedRow(); if (row == -1) return; int linhaToGo = Integer.parseInt(tabelaDeErros.getValueAt(row, 0).toString()); if (linhaToGo == 0) return; textAreaSourceCode.goToLine(linhaToGo); textAreaSourceCode.selectLine(linhaToGo); erroAtual = row; btnAplicar.setEnabled(true); RegrasHardCodedEmag regra = new RegrasHardCodedEmag(); texto.setText(regra.getAtributo(controle.getTag(erroAtual), "alt")); } }