Salut ! Comment affiche-t-on une image dans un JPanel ??? Est-ce avec la méthode ImageIcon ??? si oui comment l'utilise-t-on ??? Merci d'avance...
passe ton image dans un JLabel d'abord tu le cré ainsi : ImageIcon i = new ImageIcon(le_chemin_complet_de_limage); JLabel photo = new JLabel(i) et ainsi tu peut l'ajouter a ta JFrame en ajoutant le JLabel tiens monsieur
Merci bien Maloco...