setCursor to JFrame doesn't work...
843805Nov 2 2006 — edited Nov 3 2006If we instantiate the JFrame and then
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
or
setCursor(new java.awt.Cursor(java.awt.Cursor.WAIT_CURSOR));
doesn't work, which means cursor isn't changed.
However, on top of the subpane or panel or any container that attached,
to JFrame, getContentPane(), the cursor shows as if nothing happens.
Why?
If it is designated not to work for JFrame, why it has to be inherited setCursor() ?