Bonsoir tout le monde,
S'il vous plait je suis débutante en programmation, j'ai créé une ArrayList et quand j'ai voulu la mettre dans un JPanel :
Il m'affiche : (The method add(Component) in the type Container is not applicable for the arguments (ArrayList<String>)).
Code : Sélectionner tout - Visualiser dans une fenêtre à part panel2.add(liste1);
Quelqu'un peut m'aider???
Merci d'avance.
Partager