Bonjour,
Je n'arrive pas à afficher le snom des colomnes.
Voici mon code :
Pourriez vous m'éclérer sur le problème svp?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 String[] columnNames = {"Point N°","IDSL","BASIN","Stream","Site_ID","Modelkey_S","Site_Descr"}; Object[][] data = { {""+this.point,champ1, champ2, champ3,champ4,champ5,champ6}, }; JTable table = new JTable(data, columnNames);
En vous remerciant
Partager