Bonjour,
veuillez m'aider car mon programme me donne aucun output et aucun erreur message non plus
merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 import java.awt.Graphics; import javax.swing.JPanel; public class Panneau extends JPanel { public void paintComponent(Graphics g) { System.out.println("Je suis exécutée!!!"); g.fillOval(20, 20, 75, 75); } public static void main(String[]args) { Panneau pan=new Panneau(); } }
Partager