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

Motif,JButton:If paintBorder is false focus not painting though paintfocus true

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: client-libs

      Description

      "Painting focus and painting border should be independent"

      In motif look, JButton's paint focus is dependent on the its border.
      If paintBorder is false, painting focus is never done no matter what paintFocus
      is true. (In metal and window look, they handled paintBorder and paintFocus
      independently.)

      See the paintFocus() method of MotifButtonUI and paintBorder() method of ButtonBorder class in MotifBorderFactory.
      bae-chul.kim@eng 1998-04-16

      Please see "Suggested Fix"
      bae-chul.kim@eng 1998-04-17

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                duke J. Duke (Inactive)
                Reporter:
                bkimsunw Bae-chul Kim (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: