Bonjour tout le monde,
Voici quelques lignes utiles du code :
public
class
SudokuIHM
extends
JApplet {
public
void
init() {
blabla..
}
class
TextePannel
extends KeyAdapter {
public
void keyTyped(KeyEvent touche) {
char toucheSaisie = touche.getKeyChar();
if ( (toucheSaisie == KeyEvent.
VK_0 )||(toucheSaisie == KeyEvent.
VK_1 )) {
// Ici je voudrais refresh mon applet
tableauLabel[3][2].setText(
""+toucheSaisie);
}
else {
System.
out.println(
"toto");
}
}
}
}
Donc, en gros, je voudrais refresh (ou repaint ou update ou je ne sais quoi encore) mon applet à partir d'une classe interne.
Merci d'avance !!
=)