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

Write a test to verify setAccelerator method of JMenuitem.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • tbd
    • 8, 11, 17, 19, 20
    • client-libs
    • In Review
    • generic
    • generic

    Description

      This testcase verifies that selecting an item in the List using mouse or keys generates ItemEvent/ActionEvent appropriately.

      a. Single-click on an item in the list generates ItemEvent, and double-click on an item generates ActionEvent.
      b. UP/DOWN keys on an generate ItemEvent, and Enter key on an item generates ActionEvent.

      Testing:
      Tested using Mach5(20 times per platform) in macos,linux and windows and got all pass.

      Attachments

        Issue Links

          Activity

            People

              rgupta Ravi Gupta
              nnarayanan Naveen Narayanan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: