Free Resource Creator (Fresc) gives the possibility to embed any data into java class.

Fresc encodes binary data as base 64 string, splits it into pieces and saves as String array in java class.

Why should one embed something into java class?
- It makes things simpler
- no more headache with getResource()
- it works with any browser.
- not so easy to change or copy icons in your application

Fresc is open source.