Mine
public text v1 · immutableif (event.getSource() == iouvrir) {
int returnVal = fc.showOpenDialog(Editoux.this);
chmptxt.setCaretPosition(chmptxt.getDocument().getLength());
}if (event.getSource() == iouvrir) {
int returnVal = fc.showOpenDialog(Editoux.this);
chmptxt.setCaretPosition(chmptxt.getDocument().getLength());
}