Update DEV.2.1/TP/TP3-MiseenPage/Question.java
This commit is contained in:
@@ -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