Skip to content

Instantly share code, notes, and snippets.

@codenameone
Created February 14, 2016 07:47
Show Gist options
  • Save codenameone/350a58254aa8b6f9f661 to your computer and use it in GitHub Desktop.
Save codenameone/350a58254aa8b6f9f661 to your computer and use it in GitHub Desktop.
The simple usage of ImageViewer from Codename One
Form hi = new Form("ImageViewer", new BorderLayout());
ImageViewer iv = new ImageViewer(duke);
hi.add(BorderLayout.CENTER, iv);
@codenameone
Copy link
Author

Sample usage of the ImageViewer class.

From the Codename One project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment