bug-classpath
[Top][All Lists]
Advanced

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

[bug-classpath] [bug #13636] Swing: JMenu is ignores that it has been se


From: anonymous
Subject: [bug-classpath] [bug #13636] Swing: JMenu is ignores that it has been set to invalid (fix included)
Date: Mon, 4 Jul 2005 21:02:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

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

                 Summary: Swing: JMenu is ignores that it has been set to
invalid (fix included)
                 Project: classpath
            Submitted by: None
            Submitted on: Mon 04.07.2005 um 17:02
                Category: None
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

If a JMenu is set to disabled (setEnabled(false)), then it goes gray, but you
can still click on it.
The problem is in the fonction setSelected of JMenu.
the initial if:

if (selected)

has to check for one mor thing (isEnabled), which gives us:

if (selected && isEnabled())

This has been tested by me, and it seams to work






    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

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