Bonjour @ tous,
Je voudrais savoir savoir comment afficher une JComboBox dans une JFrame.
J'ai pourtant créer l'objet mais rien ne s'affiche
Voici mon code
quesqu'il ne vas pas ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 JComboBox gr = new JComboBox(); // a component that contain every group gr.setLocation(new Point (X_POSITION_FIELD+20,Y_POSITION)); gr.setSize(new Dimension(80,20));
Partager