Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get picture

 
suraya ya'acob
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to get and make the picture appear using java? Let say user id is 123, then I want to get 123’s picture . Can someone show me with coding sample.
Thank you..
 
Joe Ess
Bartender
Pie
Posts: 9264
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depending on what you want to use it for, javax.swing.ImageIcon
makes loading an image pretty simple. You just have to make an image for all your users.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic