[rfc][icedtea-web][policyeditor] Modal PolicyEditor

Andrew Azores aazores at redhat.com
Mon Mar 24 20:39:20 UTC 2014


On 03/24/2014 12:22 PM, Jiri Vanek wrote:
> On 03/24/2014 05:18 PM, Andrew Azores wrote:
>> Hi,
>>
>> The "policyeditor-jdialog" patch is simply making PolicyEditor into a 
>> JDialog rather than JFrame so
>> that it can be modal. The "modal-policyeditor" patch actually makes 
>> it modal for the two security
>> dialogs which can launch PolicyEditor.
>>
>> Thanks,
>>
>
> hmhmh. What about stand alone app? Some window maagers atre treating 
> jdialog somehow.. wrongly (likenot seen in alt+tab or similar)
>
> I'm for
>
> -public class PolicyEditor extends JFrame {
> +public class PolicyEditor extends JPanel {
>
> and have two static getters which  return
>  - one jdialog
>  - one jframe
>
> what is better for the case... with the panel on of PolcyEditor in it.
>
>
> J.
>

How's this?

>
> jsut noted:
> * Comments will *not* be preserved when PolicyEditor next saves to the
>
> Is it really so hard to store the comments for future save?

PolicyEditor doesn't even properly parse policy files sometimes, 
depending on the way the comments are written :) once that's sorted out 
then being able to store the comments in their own model as well should 
not be too hard.

Thanks,

-- 
Andrew A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: modal-policyeditor-2.patch
Type: text/x-patch
Size: 19812 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140324/8a642ac2/modal-policyeditor-2-0001.patch>


More information about the distro-pkg-dev mailing list