ajout esthetique et fin pour aujourd'hui
This commit is contained in:
parent
7434386e23
commit
46d4ac31d7
@ -22,12 +22,12 @@ public class FenetreGroupe extends JPanel{
|
|||||||
JButton bout=new JButton("point point");
|
JButton bout=new JButton("point point");
|
||||||
bout.addActionListener(new ObservateurChangeGroupe(m, this.g.getPointPoint()));
|
bout.addActionListener(new ObservateurChangeGroupe(m, this.g.getPointPoint()));
|
||||||
this.add(bout);
|
this.add(bout);
|
||||||
this.add(new JLabel(g.getName()));
|
this.add(new JLabel(g.getName(), JLabel.CENTER));
|
||||||
this.add(new JLabel("id= "+String.valueOf(g.getId())));
|
this.add(new JLabel("id= "+String.valueOf(g.getId()),JLabel.CENTER));
|
||||||
this.add(new JLabel("min= "+String.valueOf(g.getMin())));
|
this.add(new JLabel("min= "+String.valueOf(g.getMin()),JLabel.CENTER));
|
||||||
this.add(new JLabel("max= "+String.valueOf(g.getMax())));
|
this.add(new JLabel("max= "+String.valueOf(g.getMax()),JLabel.CENTER));
|
||||||
this.add(new JLabel(g.getType().name()));
|
this.add(new JLabel(g.getType().name(), JLabel.CENTER));
|
||||||
this.add(new JLabel("Sous groupe"));
|
this.add(new JLabel("Sous groupe",JLabel.CENTER));
|
||||||
for(Groupe gr: g.getSousGroupes()){
|
for(Groupe gr: g.getSousGroupes()){
|
||||||
JButton b=new JButton(gr.getName());
|
JButton b=new JButton(gr.getName());
|
||||||
b.addActionListener(new ObservateurChangeGroupe(m, gr));
|
b.addActionListener(new ObservateurChangeGroupe(m, gr));
|
||||||
|
Loading…
Reference in New Issue
Block a user