the image doest not fit into jlabel
It will, if you use a layout manager correctly.
http://download.oracle.com/javase/tutorial/uiswing/layout/index.html
Unless of course, you want the image to be scaled to a certain size, which could be one interpretation of your rather vague post. IMO that's better achieved by extending
ImageIcon than by custom painting.
Why don't you go through the entire Swing tutorial trail? Programming is so much more fun when you understand what you're doing.