title: Java: string to ImageIcon?
body: <p>Is there anyway to convert a String to an ImageIcon?</p>
  
  <p>Sort of like the code here: <a href="http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/Createaniconinmemory.htm" rel="nofollow">http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/Createaniconinmemory.htm</a></p>
  
  <p>Instead of the red rectangle, I would like to display a String as ImageIcon.</p>
  
  <p>My intention is to display this dynamically created ImageIcon besides the Jtree nodes.</p>