bonjour tous le monde j'ai besoin de votre aide

je veux relie relie les champ de saisie avec le programme principale, et j'arrive pas à savoir la méthode



voila 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
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
private JPanel SaisieHGPanel() {
					JPanel panel = new JPanel();
					panel.setBackground(Color.LIGHT_GRAY);
					SpringLayout layout = new SpringLayout();
					panel.setLayout(layout); 	//						panel.setLayout(new GridLayout(6,3));
 
					JLabel SMinLabel = new JLabel("SMin  :");
					panel.add(SMinLabel); 
					JTextField SMin = new JTextField();
					SMin.setColumns(3);			//setField( FIELD_INITVAR_SMIN, SMin ) ;
					fieldMap.put( FIELD_INITVAR_SMIN, SMin ); 
					panel.add(SMin);
					JButton bouton = new JButton("Validée");
					//bouton.addActionListener((ActionListener) this) ; 
					panel.add(bouton);
					SMin.getText(); 
 
 
 
					JLabel SMaxLabel = new JLabel("SMax :");
					panel.add(SMaxLabel );  
					JTextField SMax = new JTextField();
					SMax.setColumns(3);
					fieldMap.put( FIELD_INITVAR_SMIN, SMax );
					panel.add(SMax);
					JButton bouton2 = new JButton("Validée");
					panel.add(bouton2);
 
					JLabel SInitLabel = new JLabel("SInit   :");
				    panel.add(SInitLabel ); 
				    JTextField SInit = new JTextField();
				    SInit.setColumns(3);
				    fieldMap.put( FIELD_INITVAR_SMIN, SInit );
				    panel.add(SInit);
				    JButton bouton3 = new JButton("Validée");
					panel.add(bouton3);
 
					JLabel XMinLabel = new JLabel("XMin  :");
				    panel.add(XMinLabel ); 
				    JTextField XMin = new JTextField();
				    XMin.setColumns(3);
				    fieldMap.put( FIELD_INITVAR_SMIN, XMin );
				    panel.add(XMin);
				    JButton bouton4 = new JButton("Validée");
					panel.add(bouton4);
 
					JLabel XMaxLabel = new JLabel("XMax :");
				    panel.add(XMaxLabel ); 
				    JTextField XMax = new JTextField();
				    XMax.setColumns(3);
				    fieldMap.put( FIELD_INITVAR_SMIN, XMax );
				    panel.add(XMax);
				    JButton bouton5 = new JButton("Validée");
					panel.add(bouton5);
 
					SpringUtilities.makeCompactGrid(panel, 5, 3, 20, 5, 10, 13);
					return panel;
				}