This isn't really important - I'm just a little curious why one needs to supply ByteBuffer to set the icon, but an IntBuffer to create Cursor data.
Why not use a common way of telling the machine what image data to use? Is one advantageous over the other in certain situations?