update
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -8,7 +8,7 @@ public class Question {
|
|||||||
|
|
||||||
frame.setLayout(new BorderLayout());
|
frame.setLayout(new BorderLayout());
|
||||||
|
|
||||||
JLabel etiquette = new JLabel("Aimez-vous les chats ?", SwingConstants.CENTER);
|
JLabel etiquette = new JLabel("Aimez-vous les chats ?", JLabel.CENTER);
|
||||||
JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
|
JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
|
||||||
JButton btn1 = new JButton("Oui");
|
JButton btn1 = new JButton("Oui");
|
||||||
JButton btn2 = new JButton("Non");
|
JButton btn2 = new JButton("Non");
|
||||||
|
Reference in New Issue
Block a user