This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Loading image file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Loading image file" Watch "Loading image file" New topic
Author

Loading image file

Garandi Garandi
Ranch Hand

Joined: Jan 07, 2003
Posts: 192
How to load an image file?
Thanks
Garandi
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Image image = ImageIO.read(URL);


GenRocket - Experts at Building Test Data
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Loading image file
 
Similar Threads
problem in photo upload in IE7 and mozilla by using javacsript
unable to display image in nokia 6630
Producing HTML or GIFs from Together
Re: Create Image in J2ME
setting icon size in JLabel