1 Replies - 436 Views - Last Post: 11 April 2009 - 05:34 AM Rate Topic: -----

#1 rishabhsharma  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 13
  • View blog
  • Posts: 305
  • Joined: 26-March 09

How to use desired Image?

Post icon  Posted 11 April 2009 - 04:12 AM

Hi Friends could you all please tell me how to use our desired image, in our program.
Like I want place a Mickey mouse beside my button. Please tell me the procedure to do this.
Is This A Good Question/Topic? 0
  • +

Replies To: How to use desired Image?

#2 cfoley  Icon User is online

  • Cabbage
  • member icon

Reputation: 1505
  • View blog
  • Posts: 3,216
  • Joined: 11-December 07

Re: How to use desired Image?

Posted 11 April 2009 - 05:34 AM

This tutorial has an example of loading an image from a file and displaying it in a JLabel:
http://java.sun.com/...ents/label.html
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1