bonjour les amis mé moi j'ai 1 blém jarrive pas a affiché ma liste(JList déroulante contenu dans un JPanel.Votre aide svp.javascript:void(0);
voici le code
public class FormRepUCIM extends JPanel implements ActionListener{
String typerep1[]={"ALIMENTATION","DISQUE DUR","RAM","CARTE MERE"}
JPanel p=new JPanel();
JList l1;
FormRepUCIM(){
this.setBounds(500,100,500,500);
this.setLayout(new GridBagLayout());
//JScrollPane defil=new JScrollPane(l1);
GridBagConstraints g= new GridBagConstraints();
p=buildImpuc();
private JPanel buildImpuc() {
JPanel pan = new JPanel();
pan.setLayout(new FlowLayout());