Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionscroll.getComponentCount(); i++) if(scroll.getComponentAt(i) instanceof JTextArea){ JTextArea area = (JTextArea) scroll.getComponentAt(i); //c'est peut etre ton JTextArea break; }}