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