wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes How to get picture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to get picture" Watch "How to get picture" New topic

How to get picture

suraya ya'acob

Joined: May 10, 2003
Posts: 25
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

Joined: Oct 29, 2001
Posts: 8713

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.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
I agree. Here's the link: http://aspose.com/file-tools
subject: How to get picture
Similar Threads
get different picture for different user
Saving a picture of an applet
How do I refresh a jtable after I delete a row?
maximize and minimize panel
excess 128 notation