image = (Image)wtkxSerializer.readObject(getClass().getResource("clock.wtkd"));
} catch (Exception ex) {
throw new RuntimeException(ex);
}
image.getImageListeners().add(new ImageListener() {
public void sizeChanged(Image image, int previousWidth, int previousHeight) {
movieListeners.sizeChanged(Clock.this, previousWidth, previousHeight);
}
public void regionUpdated(Image image, int x, int y, int width, int height) {