Hi
I create custom cursor with bottom code:
Toolkit toolkit = Toolkit.getDefaultToolkit();
Image image = toolkit.getImage("C:/Users/Administrator/Desktop/gaea/core/ui/gaeawindow/src/si/xlab/gaea/core/ui/gaeawindow/HandCursor.gif");
// Somewhere in mouse pressed action
public void mousePressed(MouseEvent e)
{
Cursor cursor = toolkit.createCustomCursor(imageClose, new Point(12,12), "Hand");
e.getComponent().setCursor(cursor);
}
Cursor is shown on Mac like it should be, but in emulated Windows 7 it isn't. It's shown increased and it's ugly.
What fix/trick should i apply to my code to fix this? Is this common problem?