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

Add another property for an icon in javax.swing.Action

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.4.0
    • client-libs



      Name: sv35042 Date: 10/08/2002


      FULL PRODUCT VERSION :
      all VM (RFE)

      FULL OPERATING SYSTEM VERSION :
      all OS

      A DESCRIPTION OF THE PROBLEM :
      Add another property for a second icon to Action. The
      problem is that at the moment I can only define one icon.
      This icon will be used for JMenuItems and JToolBar buttons.

      The JMenuItem looks better with an icon of 16x16 pixels.
      The JToolBar button looks better with an icon of 24x24 pixels.

      I've to set ont of the icons manually. It would be better to
      have both icons in the Action and both (the button and the
      menu item) can get the appropriate icon.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Add another property to Action to have two different buttons.

      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      Set one icon manually.
      (Review ID: 143303)
      ======================================================================

            mdavidsosunw Mark Davidson (Inactive)
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: