Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.0
    • Fix Version/s: None
    • Component/s: Window
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      143

      Description

      Possible to add a public JXDialog(Dialog dialog, JComponent content, boolean
      packAndShow) constructor ?

        Issue Links

          Activity

          elkner created issue -
          Hide
          kleopatra added a comment -

          yes

          There's definitely a need to do better on constructors (and other necessities):
          http://www.javadesktop.org/forums/thread.jspa?messageID=111267

          Jeanette

          Show
          kleopatra added a comment - yes There's definitely a need to do better on constructors (and other necessities): http://www.javadesktop.org/forums/thread.jspa?messageID=111267 Jeanette
          Hide
          ijuma added a comment -

          Adding cc.

          Show
          ijuma added a comment - Adding cc.
          Hide
          rah003 added a comment -

          Would be nice to have for 1.0

          Show
          rah003 added a comment - Would be nice to have for 1.0
          Hide
          osbald added a comment -

          Assuming this still relates to JXLoginDialog and not JXDialogs failings then
          this is probably duplicated by #330.

          Show
          osbald added a comment - Assuming this still relates to JXLoginDialog and not JXDialogs failings then this is probably duplicated by #330.
          Hide
          Karl Schaefer added a comment -

          The proposed constructor conflicts with super's boolean version. In super the
          boolean is used to determine the dialog's modality, here it would have a
          different function. Since SwingX should have parent constructors where
          appropriate this conflict is problematic. Having JDialog's booleans perform
          different functions than JXDialogs seems problematic.

          I recommend not adding this "packAndShow" boolean because of the confusion it
          could cause with super's "modality" boolean.

          Karl

          Show
          Karl Schaefer added a comment - The proposed constructor conflicts with super's boolean version. In super the boolean is used to determine the dialog's modality, here it would have a different function. Since SwingX should have parent constructors where appropriate this conflict is problematic. Having JDialog's booleans perform different functions than JXDialogs seems problematic. I recommend not adding this "packAndShow" boolean because of the confusion it could cause with super's "modality" boolean. Karl
          Hide
          Karl Schaefer added a comment -

          Reassigning new items held by inactive users to default assignee
          (issues@swingx). If I accidentally marked something incorrectly, please fix
          it. This is an attempt to help us determine what is really claimed and was is
          not really claimed.

          Show
          Karl Schaefer added a comment - Reassigning new items held by inactive users to default assignee (issues@swingx). If I accidentally marked something incorrectly, please fix it. This is an attempt to help us determine what is really claimed and was is not really claimed.
          kenaiadmin made changes -
          Field Original Value New Value
          issue.field.bugzillaimportkey 143 84403
          made changes -
          Link This issue blocks SWINGX-1018 [ SWINGX-1018 ]
          Karl Schaefer made changes -
          Affects Version/s 0.9.0 [ 13348 ]
          Affects Version/s pre-0.9 [ 13364 ]
          Karl Schaefer made changes -
          Assignee swingx-issues [ swingx-issues ]
          Karl Schaefer made changes -
          Fix Version/s post_1.x [ 13367 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              elkner
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: