Images are not appearing in RCP application after exporting as a product
问题 I have a RCP application, in which I have added some images as icons. The below method is the method for adding icons on the buttons: public static void setIconForButton(Button button, Display d, Bundle bundle, String path) { InputStream is = null; try { is = FileLocator.openStream(bundle, new Path(path), false); Image image = new Image(d, is); button.setImage(image); } catch (IOException e1) { e1.printStackTrace(); } finally { try { if (is != null) { is.close(); } } catch (Exception e1) { e1