update
This commit is contained in:
@@ -5,10 +5,12 @@ public class Sirocco {
|
||||
public static void main(String[] args) {
|
||||
JFrame fenetre = new JFrame("Sirocco");
|
||||
fenetre.setSize(500, 300);
|
||||
fenetre.setLocation(100, 100);
|
||||
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
|
||||
JLabel etiquette = new JLabel("Sirocco");
|
||||
etiquette.setHorizontalAlignment(JLabel.BOTTOM_ALIGNMENT);
|
||||
etiquette.setHorizontalAlignment(JLabel.LEFT);
|
||||
etiquette.setVerticalAlignment(JLabel.BOTTOM);
|
||||
|
||||
fenetre.add(etiquette, BorderLayout.CENTER);
|
||||
fenetre.setVisible(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user