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

