[Exception]Probleme : Java.lang.Exception
Bonjour, j'ai un probleme a la compilation :(
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
ActionListener afficher=new ActionListener(){
public void actionPerformed(ActionEvent e){
choixliste = tableMagazin.getSelectedRow();
choixliste2 = tableMagazin.getSelectedColumn();
String a = (String)tableMagazin.getValueAt(choixliste,1);
String b = (String)tableMagazin.getValueAt(choixliste,2);
String c = (String)tableMagazin.getValueAt(choixliste,choixliste2);
System.out.println(choixliste);
System.out.println(choixliste2);
//System.out.println(c);
FmtGestionPalette FGP = new FmtGestionPalette();
FGP.jbInit(a,b); <-----------------------le probleme est ici !!!
//afficherPalette();
}
}; |
a la compilation j'ai le message suivant :
unreported exception java.lang.Exception: must be caught or declared to be thrown
Et je ne sais pas comment resoudre ce probleme.
Merci d'avance.