File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Loading JPEGs or GIFs in Frame of  Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Loading JPEGs or GIFs in Frame of  Application" Watch "Loading JPEGs or GIFs in Frame of  Application" New topic
Author

Loading JPEGs or GIFs in Frame of Application

Nils W Widmer
Greenhorn

Joined: Aug 13, 2001
Posts: 14
how do I Load an Image in an applicationen, in an applet its just getImage but in application?

------------------
[-_-]


[-_-]
Nils W Widmer
Greenhorn

Joined: Aug 13, 2001
Posts: 14
k, found it:
Image img = Toolkit.getDefaultToolkit().getImage(szName);
------------------
[-_-]
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, which you agreed to when you registered, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Nils Widmer
Greenhorn

Joined: Aug 17, 2001
Posts: 13
Haidihooo
------------------
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
, Thanks.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Loading JPEGs or GIFs in Frame of Application