This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 8877

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:
subject: How to get picture