commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bugs #12205] JDialog.setDefaultCloseOperation() does not pr


From: Robert Schuster
Subject: [commit-cp] [bugs #12205] JDialog.setDefaultCloseOperation() does not properly ignore illegal values
Date: Fri, 4 Mar 2005 00:19:04 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.5) Gecko/20050107

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12205>

                 Summary: JDialog.setDefaultCloseOperation() does not
properly ignore illegal values
                 Project: classpath
            Submitted by: rschuster
            Submitted on: Fri 03/04/2005 at 00:19
                Category: classpath
                Severity: 3 - Ordinary
                  Status: None
                 Privacy: Public
             Assigned to: rschuster
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

JDialog currently throws an IllegalArgumentException when the method
setDefaultCloseOperation() is called with something other than HIDE_ON_CLOSE,
DO_NOTHING_CLOSE and DISPOSE_ON_CLOSE (eg EXIT_ON_CLOSE which is part of
JDialogs API but cannot be used).

Although the argument validity check is useful it is not compatible with
official API.






    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12205>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]