[rfc][icedtea-web][policyeditor] SwingWorkers for opening/saving
Omair Majid
omajid at redhat.com
Mon Jun 2 15:17:59 UTC 2014
* Andrew Azores <aazores at redhat.com> [2014-06-02 11:10]:
> This patch simply puts the blocking IO PolicyFileModel calls for opening and
> saving policy files into SwingWorkers.
Patch looks good to me.
> Currently there is no progress indicator - any suggestions on what
> kind of visual to use here? There isn't any easy way (at least right
> now) to determine how far along the opening/saving process is, so a
> standard rectangular progress indicator doesn't sound right to me.
An indeterminate progress bar [1] might be the simplest.
Thanks,
Omair
[1] http://docs.oracle.com/javase/8/docs/api/javax/swing/JProgressBar.html#setIndeterminate-boolean-
--
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681
More information about the distro-pkg-dev
mailing list