salut tout le monde j'aimerai de l'aide au sujet de la m�thode getGraphics associ�e � un JLabel. Code suivant : ... JPanel MonPanel = new JPanel; ... MonPanel.getGraphics.drawImage(MonImage, 0, 0, this); ...
Il me renvoie une NullPointerException. En effet, quand je lui demande un toString sur MonPanel.getGraphics (comme ceci System.out.print(MonPanel.getGraphics.toString()), me renvoie une NullPointerException aussi. Quelqu'un a-t-il d�j� eu ce genre de probl�me ? merci de votre aide. jul ============================================ "On ne paie jamais trop cher le privil�ge d'�tre son propre ma�tre." Rudyard Kipling
<<attachment: winmail.dat>>
