Dynamically loading Images at Runtime
Dynamically loading Images at Runtime
To load images into your application at runtime, start with a placeholder in an Image component. Dynamically loaded images do not require an Image Definition in the Image Definitions Folder, but instead require that you instantiate a RuntimeImageDefinition in your Java code. You can use the UICreateEvent to access your Panel and its Image component, and use the Image component’s setImage method to assign the image that you are accessing by URL or API.
For details on accessing Panels and UI Components in Java code see the UI Annotations section.
(IMG)