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

MetalInternalFrameTitlePane allows tab to min/max,iconify buttons

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.1.6
    • client-libs



      Name: el35337 Date: 06/18/98


      When tabbing in a JInternalFrame using the Metal
      L&F, you can tab to the min/max/iconify buttons
      in the MetalInternalFrameTitlePane. This is
      not typical behavior and is undesirable.

      This behavior exists because the MetalInternalFrameTitlePane
      creates instances of JButton for these buttons.
      This is different than what BasicInternalFrameTitlePane
      does. It subclasses JButton and overrides
      isFocusTraversable to return false and then uses
      instances of this subclass for the min/max/iconify
      buttons. Unfortunately, MetalInternalFrameTitlePane
      does not subclass BasicInternalFrameTitlePane.

      I would suggest using a JButton subclass that
      is not focus traversable for the min/max/iconify
      buttons in MetalInternalFrameTitlePane as well.
      (Review ID: 33897)
      ======================================================================

            stewilso Steve Wilson (Inactive)
            elarsen Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: