Bonjour,
je souhaite en SWT mettre une image de fond sur ma fenetre.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
public void createPartControl(Composite parent) {
 
        // create the section at the top
        Section section = new Section(parent, Section.DESCRIPTION);
        section.setText("Address Entry List");
 
        GridData gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
        gridData.horizontalSpan = 2;
        section.setLayoutData(gridData);
}
Cependant je ne sais pas trop comment m'y prendre, car mon composite ne permet pas le setImageBackground.
Merci