17 lines
		
	
	
		
			427 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			427 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| import javax.swing.*;
 | |
| 
 | |
| public class MainAttente {
 | |
|     public static void main(String[] args) {
 | |
|         JFrame frame = new JFrame("Attente");
 | |
|         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
 | |
| 
 | |
|         Attente panneau = new Attente();
 | |
|         frame.add(panneau);
 | |
|         frame.addWindowListener(panneau); 
 | |
| 
 | |
|         frame.setSize(500, 500);
 | |
|         frame.setLocation(500, 250);
 | |
|         frame.setVisible(true);
 | |
|     }
 | |
| }
 |