Placing an image on a small button

Hi, im sure that this is a very simple problem for most and im surprised that its even a probem for me in the first place but im having trouble placing an image over my buttons and it seems to me that my code is fine, obviously not though. anyways heres my code:

note = new JButton(new ImageIcon("C:/Documents and Settings/Owner/Desktop/fullnote.jpg"));

note.addActionListener(this);

getContentPane().add(note);

where have i gone wrong, cheers in advance for any help

[498 byte] By [Ringoa] at [2007-10-2 10:41:50]
# 1
check this.. http://javaalmanac.com/egs/javax.swing/button_SetIcon.htmlIts very simple..gervini
gervinia at 2007-7-13 2:49:50 > top of Java-index,Desktop,Core GUI APIs...