Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Lorraine Stephens   on Oct 20 In Java Category.

  
Question Answered By: Devlan Jones   on Oct 20

Toolkit myToolkit = Toolkit.getDefaultToolkit();
Image img = myToolkit.getImage("img.jpg");

maybe i have spelling mistakes, but u should have the Java Docs for
java.awt package, in it you'll find the correct spelling of
Toolkit,Image , and function names in the classes.

I hope this is useful?

Share: 

 
 
Didn't find what you were looking for? Find more on how to display Image to frame from URL using AWT Or get search suggestion and latest updates.


Tagged: