I'm using Pivot for a desktop application and can't find a way to set an image for the cursor. This exists in AWT (via java.awt.Toolkit.createCustomCursor
) but the closest in Pivot is org.apache.pivot.wtk.Mouse.setCursor
which takes an enumerated org.apache.pivot.wtk.Cursor
, with no option for a custom cursor.
I can't find any way to using an AWT cursor in Pivot, so how can I create a custom cursor in Pivot?