setting palette from java works, not in use and still
useless, but not throwing exceptions anymore.