[rfc][icedtea-web][policyeditor] SwingWorkers for opening/saving
Andrew Azores
aazores at redhat.com
Mon Jun 2 16:26:56 UTC 2014
On 06/02/2014 11:17 AM, Omair Majid wrote:
> * 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-
>
Added an indeterminate progress bar inside a modal dialog.
Thanks,
--
Andrew A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: policyeditor-swingworker-2.patch
Type: text/x-patch
Size: 9420 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140602/07e83826/policyeditor-swingworker-2-0001.patch>
More information about the distro-pkg-dev
mailing list