Within a class, you could use:
InputStream is = this.class().getResourceAsStream("some.ico");
The file some.ico would have to be in the same directory as the class file.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987195#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...