Programmation Objet et langage Java 2013-2014 -5-
Daniel Tschirhart. TD Java Edition du 09/09/2013, mise à jour 09/09/13 (TD08.docx).
public static void main(String[] args)
{
}
/**
* This is the default constructor
*/
public DesMotsG()
{
super();
initialize();
}
/**
* This method initializes this
* @return void
*/
private void initialize()
{
labelRichesse = new Label();
labelRichesse.setBounds(new Rectangle(229, 152, 150, 23));
labelRichesse.setAlignment(Label.CENTER);
labelRichesse.setFont(new Font("Dialog", Font.BOLD, 14));
labelRichesse.setText("");
labelOccurence = new Label();
labelOccurence.setBounds(new Rectangle(232, 80, 149, 23));
labelOccurence.setBackground(Color.lightGray);
labelOccurence.setFont(new Font("Dialog", Font.BOLD, 14));
labelOccurence.setForeground(Color.black);
labelOccurence.setAlignment(Label.CENTER);
labelOccurence.setText("");
this.setLayout(null);
this.setSize(399, 359);
this.setBackground(Color.lightGray);
this.setName("frame");
this.setTitle("Des mots");
this.add(getButtonDir(), null);
this.add(getButtonOccur(), null);
this.add(labelOccurence, null);
this.add(getButtonRichesse(), null);
this.add(labelRichesse, null);
this.add(getListeGlobale(), null);
this.add(getButtonVueGlobale(), null);
this.add(getCheckboxFichier(), null);
this.add(getCheckboxListe(), null);
this.addWindowListener(new java.awt.event.WindowAdapter()
{
public void windowClosing(java.awt.event.WindowEvent e)
{
System.exit(0);
}
});
}