The constructor JTable is giving me an error that says:
"The constructor JTable(int[][], String[]) is undefined"
although it has a constructor JTable(Object[][], Object[]) (Calcul.apartements is of the type int[][])
String[] colonnes = {"Appartements", "Prix Milion de Cts", "Tempd duTrajet/C.v (en min)", "Superficie (en m2)", "Etage"};
table = new JTable(Calcul.appartements, colonnes);
intis not anObject. Either trying defining the array asObject[][]and putints into it or useInteger[][]instead