import java.io.IOException;

import jcontrol.io.Display;
import jcontrol.io.Resource;

/**
 * This example loads an image from the flash memory
 * and paints it onto the screen.
 */
public class ImageExample {
  Display lcd;
  
  public ImageExample() {
    lcd = new Display();
    
    try {
      lcd.drawImage(new Resource("Malerei.jcif"), 0, 0);
    } catch (IOException e) {}
    
    for (;;) {}
  }

  public static void main(String[] args) {
    new ImageExample();
  }
}
