Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Ernesta Fernandez   on Jul 02 In Java Category.

  
Question Answered By: Josie Roberts   on Jul 02

The line:

image = createImage(source);

should read:

image = Toolkit.getDefaultToolkit().createImage(source);


The example code provided in the JavaDoc is imcomplete. This is probably
because the author just pulled it out of some
larger example without properly referencing the example (it mentions "adapted
from the MemoryAnimationSourceDemo by
Garth Dickie" but that doesn't mean much to me).

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Create an image from an integer array Or get search suggestion and latest updates.


Tagged: