-
if(!((JTextArea) onglets.getComponentAt(onglets.getSelectedIndex())).getText().equals("")){ +
JScrollPane jsp= (JScrollPane)onglets.getComponentAt(onglets.getSelectedIndex())) ;
JTextArea jta= (JtextArea)jsp.getViewport().getView() ;
if ( jta.getText().length() > 0 ){
}
?
cross :
./23 : c'est quoi qui te renvoie ça ? (et comment ? avec un toString() ?)