This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

images in labels?

 
daman sidhu
Ranch Hand
Posts: 184
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like some help here, i am making a chat applicaiton in the top of which i want a banner to be displayed(advertisement) , how can i do that, i tried adding image in a label but then for the image to draw i have to use paint , which messes up the whole screen and the other things are not visible then like the textpane below it.Can anyone help.Ill be thankful.
Regards,
Daman
 
daman sidhu
Ranch Hand
Posts: 184
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have worked out how to do that, instead of painting the images now i am using Image and ImageIcon class alongwith JLabel in which i am passing the imageicon , as a result it is now working properly.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic