Social Icons

Monday, May 3, 2010

How to set a background image for a JFrame using JLabel


Video demonstrates how to set a bg image for a frame using a Jlabel , I rely on Netbeans 6.8 for this demo. any question regarding this procedure do no hesitate to comment.


Comment (1)

Loading... Logging you in...
  • Logged in as
Hi! Thanks a lot for this video! I have a problem - I use this method and set background image for my main JFrame. But then I used it for InternalJrame and the image does not appear when I run the project. It only shows the name of the Jlabel, not the image. In design view everything is Ok and I can see the image.Here is a screenshot of internalFrame in design view and when I run the project [http://storage4.album.bg/c4c/jinternalframe_d9b71_28947278.bmp] What do you think the problem is?
Here is my E-mail: eouvin@abv.bg . I will be grateful if you help me! Thank you so much!

Post a new comment

Comments by

 
 
Blogger Templates http://slots.to/