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

Jiri Vanek jvanek at redhat.com
Mon Mar 24 16:22:53 UTC 2014


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.


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?


More information about the distro-pkg-dev mailing list