File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 9190

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.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: How to get picture
It's not a secret anymore!