package projet;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
public class APropos extends JFrame {
private JPanel p1 = new JPanel();
private JLabel apropos = new JLabel(
"
Programme créé par BUI Christophe et MAHE Julien
"
+ " en l'occasion de la soutenance de JAVA, année 2012-2013.
"
+ " Nous remercions notre professeur,
"
+ " Mr LIU Tian Xiao, de son soutien
"
+ " et de son apprentissage de ce langage
"
+ " et aux utilisateurs de notre programme.");
public APropos() {
init();
}
public void init() {
setVisible(true);
setTitle("A propos de...");
setSize(360, 135);
this.setLocationRelativeTo(null);
setResizable(false);
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
add(p1);
p1.add(apropos);
}
public static void main(String... args) {
new APropos();
}
}