salut ,

le problème est dans le titre , lorsque je clique sur un bouton celui ci reste enfoncé pourtant j'ai bien suivi les conseils de Roman Gui à propos de l'utilisation du Thread EDT , voici mon code :
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
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
private class JClickListeCommande implements ActionListener
	{
 
	  public void actionPerformed(ActionEvent arg0) 
	  {
 
	   javax.swing.SwingUtilities.invokeLater(new Runnable() {
		public void run() 
		{
		      if (ficheListeCommande == null) 
		      {
		          ficheListeCommande = new FicheListeCommande().getVue().getFrame();
	         	FicheP.this.bureau.add(ficheListeCommande); 
		      }
		     	try 
		      	{
		      		ficheListeCommande.setVisible(true);
		 	        ficheListeCommande.setSelected(true);
			}
			catch (PropertyVetoException e) {	
 
                                                     e.printStackTrace(); }
			      }
 
			 });
 
 
 
 
		}
 
	}