Display.getInstance().openImageGallery(new ActionListener() { InputStream is; public void actionPerformed(ActionEvent evt) { try { path=evt.getSource().toString(); is=FileSystemStorage.getInstance().openInputStream(path); image=Image.createImage(is); findIvImagem().setImage(image); } catch (IOException ex) { Dialog.show("Error:",ex.getMessage(),"OK", null); } } });