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

The JToolbar.add(Action) behaviour is wrong. (Label/Icon display).

    XMLWordPrintable

Details

    • swing1.0fcs
    • generic
    • solaris_2.5

    Description

      When an Action is added to the JToolBar its Icon property is used to
      create toolbar buttons. The NAME property is ignored. But subsequently, when
      the NAME property of the Action is set, the corresponding toolbar button now
      shows the NAME string along with the original Icon.

      I want to reiterate that the api to control wheather the Label and/or Icons are displayed should be on the JToolBar class and while adding the Actions or changing the properties of that Action the setting on the JToolBar instance should be consulted.

      Attachments

        Activity

          People

            gsaab Georges Saab
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: