CCB Premier Import
This commit is contained in:
27
Stock/src/vue/VueAccueil.java
Normal file
27
Stock/src/vue/VueAccueil.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package vue;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.GridLayout;
|
||||
|
||||
import javax.swing.ImageIcon;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
public class VueAccueil extends JPanel
|
||||
{
|
||||
public VueAccueil()
|
||||
{
|
||||
this.setBounds(150, 20, 300, 300);
|
||||
this.setLayout(new GridLayout(4, 1));
|
||||
|
||||
this.setBackground(Color.GRAY);
|
||||
JLabel titre = new JLabel("Logiciel realis<69> le 6-01-2017");
|
||||
JLabel logo = new JLabel(new ImageIcon("src/images/enregistrer.png"));
|
||||
|
||||
this.add(new JLabel());
|
||||
this.add(titre);
|
||||
this.add(logo);
|
||||
this.add(new JLabel());
|
||||
this.setVisible(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user