can.getGraphics().drawImage(logo, 0, 0, null);
Eric Delacroix wrote:
hello,
I try to put a logo at the top corner of an applet. I tried this :
Canvas can = new Canvas(); Toolkit kit = Toolkit.getDefaultToolkit(); Image logo = kit.createImage("gif/logo.bmp");
and then I want to put my image in the canvas, but I can't achieve it... After that I'll put my canvas in a panel, or something like this and place it in the contentPane of my applet, but if someone could tell me how I could draw my Image properly in a canvas, it would be very helpful, Thanks Eric Delacroix Destination Moon
_________________________________________________________________
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
-- A. Genovesio Quantitative Image Analysis Group Institut Pasteur 25, rue du Docteur Roux 75724 Paris Cedex 15
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
