Bonjour,
impossible de placer mon box layout à gauche...
je dois mal m'y prendre ...
Merci pour votre aide !
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 // Dans le panneau 7 JButton button1 = new JButton("Envoyer !"); //pan7.setLayout(new BorderLayout()); Box hbox5 = Box.createHorizontalBox(); pan7.add(hbox5); hbox5.setAlignmentX(Component.LEFT_ALIGNMENT); hbox5.add(button1); //pan7.add(button1, BorderLayout.CENTER);
Uploaded with ImageShack.us
Partager