Retrieves a copy of the Win32 handle (HPALETTE) for the palette.
public final int copyHandle()
Returns a copy of the Win32 handle to the palette that underlies this object.
When you copy a palette handle, you own the handle and are responsible for freeing it.