Hello, I found my bundle couldn't display the related picture properlly.
I use eclipse to build one UI bundle with one picture for background as the
following:
//Java sentence:
ImageIcon imagebg = new ImageIcon("source/bg1.jpg");

I also create a folder "source", and bg1.jpg exists in this folder.

After exporting bundle from eclipse project, I could get a bundle named
with UIMainMenu.jar;
However, when I add this bundle into OSGi framwork, the background picture
always can not display.
Why, I try many times, and always found this type of problem.
Any suggestion would be welcome!
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to