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

Request for enhanced Action Interface

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs



      Name: rk38400 Date: 04/16/98


      I have found the swing Action interface very useful when
      I want JButtons on a JToolBar or JMenuItems in a JMenu.
      But what if I want a JCheckBox, JRadioButton, JCheckBoxMenuItem,
      or JRadioButtonMenuItem? Then I can't use the 'add(Action)'
      methods of JMenu, JPopupMenu, and JToolBar. It also doesn't
      work to first create the JCheckBox, JRadioButton, etc., and
      then add an Action object with the 'addActionListener'
      methods. Enabling/disabling of the Action object does then
      not affect the button or menu-item.

      How is this supposed to be done?
      (Review ID: 28340)
      ======================================================================

            gsaab Georges Saab
            rkarsunw Ralph Kar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: