Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6419451

button component is enable state in disabled textpane and it fires the action.

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Bug Info:
      =========
      I inserted a button component with some action in disabled textpane.But the button appears as enabled and if i press on the button then it fires the action.

      I expected the following behavior.

      The button component shouldn't fire an action and it shouldn't appear as enabled in disabled textpane.

      JDK Info:
      =========
      java version "1.6.0-beta2"
      Java(TM) SE Runtime Environment (build 1.6.0-beta2-b81)
      Java HotSpot(TM) Client VM (build 1.6.0-beta2-b81, mixed mode)

      Steps to Reproduce:
      ===================
      1. Download the attached code.
      2. Run the app.
      3. Now click on the button.


      Please find the attached code snippet for reproducing the scenario.

        Attachments

          Activity

            People

            Assignee:
            peterz Peter Zhelezniakov
            Reporter:
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: