Bonsoir à tous, j'ai une petit problème avec deux des mes IG.
Lorsqu'un d'eux est exécuter, la fenêtre s’ouvre, mais pas entièrement, la partie inférieur est couper.

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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
 
package BTS;
 
import java.awt.Color;
 
 
public class BTS1 extends JFrame implements ActionListener{
 
	/**
         * 
         */
	private static final long serialVersionUID = 1L;
	private JPanel contentPane;
	private JButton btnRecap;
	private JButton btnBts;
	private JButton btnFermer;
 
	/**
         * Launch the application.
         */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					BTS1 frame = new BTS1();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}
 
	/**
         * Create the frame.
         */
	public BTS1() {
		setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
		setBounds(100, 100, 550, 400);
		setTitle("BTS1");
		contentPane = new JPanel();
		contentPane.setBackground(new Color(220, 220, 220));
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setResizable(false);
		setLocationRelativeTo(null);
		setContentPane(contentPane);
		contentPane.setLayout(null);
 
		JPanel panel = new JPanel();
		panel.setBorder(new BevelBorder(BevelBorder.LOWERED, new Color(105, 105, 105), null, null, null));
		panel.setBackground(Color.WHITE);
		panel.setBounds(0, 0, 550, 118);
		contentPane.add(panel);
		panel.setLayout(null);
 
 
 
		addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent arg0) {
		        //JOptionPane.showMessageDialog(null, "Vou fechar");
		        //System.exit(0);
		        //Param_genereau_reseau param = new Param_genereau_reseau();
		        //param.setVisible(true);
		        dispose();
 
		    } 
		});
	}
 
	@Override
	public void actionPerformed(ActionEvent arg0) {
		// TODO Auto-generated method stub
		Object action = arg0.getSource();
		if(action.equals(btnBts)){
			GeBTS1 getbts1 = new GeBTS1();
			getbts1.setVisible(true);
			dispose();
		}if(action.equals(btnFermer )){
			dispose();
		}
	}
}