graphics and a problem(?) with java 2

Hi,
I am coding a project in java that uses graphics a lot. I have been using java 1 for it, but found that only java 2 seemed to offer support for custom cursors. I loaded java 2. As it happens, I am using MemoryImageSource objects to load certain graphics from file, and had specified 32 bits in the IndexColorModel objects passed to them. This worked fine in java 1, but java 2 insists on 16 bits. When I duly changed the values, some of my images came out garbled, but when I changed back to java 1 they came out fine again, even with 16 bit specified. How can I get around this, as I want to use custom cursors, and if I remain with java 1, will my program work on computers using java 2?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories