Set the cursor of the JTable and its JScrollPane to WAIT_CURSOR. After
this call JTable's and JScrollPane's updateUI() method.
Mattias
"Price, Chris" <chris_price@nsb.co.uk>
Sent by: owner-java400-l@midrange.com
03.08.01 14:51
Please respond to JAVA400-L
To: "'java400-l@midrange.com'" <java400-l@midrange.com>
cc:
Subject: Where's my Hourglass?
Sorry, another stoopid question....
I've extracted some AS400 data into a TableModel, loaded it into a
TableSorter (stolen from the Java Tutorial) and then into a JTable. So
when
I click a column header, the table is sorted based on that column. All
works
fine.
However, as the table is quite large, the sort takes a couple of second to
complete, so I'd like to set the Cursor to an Hourglass. Although the
JTable
has a setCursor method, setting this to WAIT_CURSOR doesn't affect the
screen cursor.
Any suggestions for solving this problem?
Thanks in advance,
Chris Price
(annoying footer follows)
=======DISCLAIMER=======
This email transmission and any attachments may contain confidential
information which is legally privileged. You are also notified that the
contents of this email and any which you may send in reply, may be viewed
by
authorised personnel on behalf of NSB Retail Systems Plc or its
subsidiaries
(the Company) in accordance with the Company's Information Access Policy.
The content of this email is always subject to contract. The information
is
intended only for the individual or entities to whom it is addressed. If
you are not an intended recipient please contact me immediately and you
are
hereby notified that any disclosure, copying, distribution, storage on any
medium or use of the information contained in this transmission is
strictly
prohibited.
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to
JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---