This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I still have a problem. I'd like to put an image in a JLabel or JButton but every time I load the component,
the component resizes depending on size of the image. My problem is that how you want the image to resize
depending on the size of the button or label.
There is no way we can tell what you are doing wrong based on the code you posted.
Read the JLabel API and follow the link to the Swing tutorial on "How to Use Labels" for working examples. There is also a section on "How to Use Icons", that gives more examples of how to properly read an image.