Forums Register Login

Cursor not setting

+Pie Number of slices to send: Send
Hello,
I have a situation with a custom made cursor not setting when a menu item is pressed. Basically it is an applet with a JMenuBar and JPanel on top of it. Everything is registered and all event handlers are set, as a matter of fact if you position the cursor in the main panel (anywhere away from the menu bar) and use an accelerator it immediately brings up the custom cursor. The funny thing also is that when I click another window and click back to my window, the custom cursor magically appears!! So basically I establish a new cursor, which I called helpCursor, and set it
arentJPanel.setCursor(helpCursor). It may have something to do with the focus, but nothing is working, I tried also revalidating and repaint also to no avail. Help please!!

Thank You
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 685 times.
Similar Threads
Strange Browser Flicker
EMSRV not starting
how can we find the compilation Errors in the Eclipse ?
Tree menu problem
Help JMenu is getting frozen and won't go away
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:49:09.